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