56 long us = (long)((sec - s) * 1000000);
63 return std::chrono::duration<double>(d).count();
std::chrono::system_clock::duration duration
Representation of a time duration.
FCL_EXPORT duration seconds(double sec)
Return the time duration representing a given number of seconds.
FCL_EXPORT point now(void)
Get the current time point.
std::chrono::system_clock::time_point point
Representation of a point in time.