39 nusec=
tv.tv_usec-
tvold.tv_usec+1000000;
51 return 1000.0 * (double)nsec + 0.001 * (
double)nusec;
65 nusec=
tv.tv_usec-
tvold.tv_usec+1000000;
72 return 1000.0 * (double)nsec + 0.001 * (
double)nusec;
108 #if defined(_MSC_VER)
110 unsigned long long diff = t - told;
113 DWORD diff = t - told;
115 return static_cast<double>(diff);
double get_elapsed_time(void)
Returns the elapsed time in milliseconds from the timer object.
double get_elapsed_time_and_reset(void)
Returns elapsed time in milliseconds of timer object and then resets the timer to current time...
Description not yet available.
adtimer(void)
Default constructor.