tick_count Members

The following table provides additional information on the members of this template class.
Member Description
static tick_count now()

Current wall clock timestamp.

static double resolution()

The resolution of the clock in seconds.

tick_count::interval_t operator-( const tick_count& t1, const tick_count& t0 )

Relative time that t1 occurred after t0.


On Microsoft Windows* operating systems, the current implementation uses the function QueryPerformanceCounter. Some systems may have bugs in their basic input/output system (BIOS) or hardware abstraction layer (HAL) that cause different processors to return different time results.

For more complete information about compiler optimizations, see our Optimization Notice.