47 #include <visp3/core/vpConfig.h> 50 #if VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11 54 #include <visp3/core/vpException.h> 80 VISP_EXPORT std::string
getDateTime(
const std::string &format =
"%Y/%m/%d %H:%M:%S");
85 VISP_EXPORT
void sleepMs(
double t);
86 VISP_EXPORT
int wait(
double t0,
double t);
87 VISP_EXPORT
void wait(
double t);
95 double getDurationMicros();
96 double getDurationMs();
97 double getDurationSeconds();
98 void start(
bool reset=
true);
103 #if VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11 && (defined(_MSC_VER) && _MSC_VER >= 1900 || !defined(_MSC_VER)) 104 std::chrono::steady_clock::time_point m_lastTimePoint;
106 double m_lastTimePoint;
VISP_EXPORT int wait(double t0, double t)
Time management and measurement.
VISP_EXPORT double measureTimeSecond()
VISP_EXPORT double measureTimeMs()
VISP_EXPORT std::string getDateTime(const std::string &format="%Y/%m/%d %H:%M:%S")
VISP_EXPORT void sleepMs(double t)
VISP_EXPORT double measureTimeMicros()
VISP_EXPORT double getMinTimeForUsleepCall()