43 #include <visp3/core/vpConfig.h>
44 #if VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11
48 #include <visp3/core/vpException.h>
74 VISP_EXPORT std::string
getDateTime(
const std::string &format =
"%Y/%m/%d %H:%M:%S");
80 VISP_EXPORT
int wait(
double t0,
double t);
81 VISP_EXPORT
void wait(
double t);
89 double getDurationMicros();
90 double getDurationMs();
91 double getDurationSeconds();
92 void start(
bool reset =
true);
97 #if VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11 && \
98 (defined(_MSC_VER) && _MSC_VER >= 1900 || !defined(_MSC_VER))
99 std::chrono::steady_clock::time_point m_lastTimePoint;
101 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()