This library contains classes that assist in the measurement of program performance.
The library consists primarily of different performance counter classes that are all structurally conformant about a single simple interface. These including the following:
gettimeofday()
API function.getrusage()
, which provides timing information for a given process, rather than as elapsed time.QueryPerformanceCounter()
, which provides the highest possible accuracy of all timer functions provided by the Win32 API, but which is not guaranteed to be available on all Windows platforms.timeGetTime()
.GetProcessTimes()
, which provides timing information for a given process, rather than as elapsed time.GetThreadTimes()
, which provides timing information for a given thread, rather than as elapsed time.GetTickCount()
function, which is guaranteed to be available on all Windows platforms and has a very low call cost, but has low resolution.QueryPerformanceCounter()
if available, otherwise defaulting to using GetTickCount()
.
Classes | |
class | performance_counter_initialiser |
A class adaptor that initialises a performance counter. More... | |
class | performance_counter_scope |
Scopes the measurement period for a performance counter. More... | |
class | performance_counter |
A performance counter using gettimeofday() . More... | |
class | processtimes_counter |
A performance counter that provides process-specific performance timings. More... | |
class | highperformance_counter |
A performance counter that uses the high performance hardware counter on the host machine. More... | |
class | multimedia_counter |
A low-cost, low-resolution performance counter. More... | |
class | performance_counter |
A performance counter that uses the most accurate measurement APIs available on the host machine. More... | |
class | processtimes_counter |
A performance counter that provides process-specific performance timings. More... | |
class | systemtime_counter |
Performance counter that uses the Windows GetSystemTime() function. More... | |
class | threadtimes_counter |
A performance counter that provides thread-specific performance timings. More... | |
class | tick_counter |
A low-cost, low-resolution performance counter. More... |