This class provides high-resolution performance monitoring using the host machine's high performance hardware counter. This class does not provide meaningful timing information on operating systems that do not provide a high performance hardware counter.
Public Types | |
typedef long | interval_type |
The interval type. | |
typedef typedef PerformanceCounterScope< HighPerformanceCounter > Scope | scope_type |
The scope type. | |
Public Methods | |
void | Start () |
Starts measurement. | |
void | Stop () |
Ends measurement. | |
interval_type | propget_PeriodCount () |
The elapsed count in the measurement period. | |
interval_type | propget_Seconds () |
The number of whole seconds in the measurement period. | |
interval_type | propget_Milliseconds () |
The number of whole milliseconds in the measurement period. | |
interval_type | propget_Microseconds () |
The number of whole microseconds in the measurement period. |
|
The interval type. The type of the interval measurement, a 64-bit signed integer |
|
The scope type. The type with which instances of the counter class can be subject to the RAII protocol in order to scope particular measurement intervals |
|
The number of whole microseconds in the measurement period. This represents the extent, in whole microseconds, of the measurement period |
|
The number of whole milliseconds in the measurement period. This represents the extent, in whole milliseconds, of the measurement period |
|
The elapsed count in the measurement period. This represents the extent, in machine-specific increments, of the measurement period |
|
The number of whole seconds in the measurement period. This represents the extent, in whole seconds, of the measurement period |
|
Starts measurement. Begins the measurement period |
|
Ends measurement. Ends the measurement period |
|
D Libraries documentation © Synesis Software Pty Ltd, 2002-2003 |