|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <winstl_performance_counter.h>
Member types | |
| typedef sinteger64 | interval_type |
| The interval type. | |
Public Methods | |
Operations | |
| void | start () |
| Starts measurement. | |
| void | stop () |
| Ends measurement. | |
Attributes | |
| interval_type | get_period_count () const |
| The elapsed count in the measurement period. | |
| interval_type | get_seconds () const |
| The number of whole seconds in the measurement period. | |
| interval_type | get_milliseconds () const |
| The number of whole milliseconds in the measurement period. | |
| interval_type | get_microseconds () const |
| The number of whole microseconds in the measurement period. | |
This class attempts to use the high performance hardware counter as its measurement resource, but failing that it defaults to less accurate resources in order to guarantee that meaningful measurements are always available to application code
|
|
The interval type. The type of the interval measurement, a 64-bit signed integer |
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |