This auto class manages a performance counter instance, scoping its measurement interval by virtue of its supporting the RAII protocol
Public Types | |
typedef T | counter_type |
The parameterising performance counter class. | |
Public Methods | |
this (counter_type counter) | |
Constructs an instance of the PerformanceCounterScope using a reference to the parameterising performance counter class, whose measurement is to be scoped. | |
~this () | |
The measurement interval is completed with a call to stop() on the managed counter instance. | |
void | Stop () |
Calls stop() on the managed counter instance, so that intermediate timings can be taken. | |
counter_type | propget_Counter () |
Returns a reference to the managed counter instance. |
|
The parameterising performance counter class.
|
|
The measurement interval is completed with a call to stop() on the managed counter instance.
|
|
Returns a reference to the managed counter instance.
|
|
Calls stop() on the managed counter instance, so that intermediate timings can be taken.
|
|
Constructs an instance of the PerformanceCounterScope using a reference to the parameterising performance counter class, whose measurement is to be scoped. The measurement interval is commenced with a call to start() on the managed counter instance. |
|
D Libraries documentation © Synesis Software Pty Ltd, 2002-2003 |