Performance monitor class; profiles an individual task.
More...
#include <DDD_PerformanceMonitor.h>
Performance monitor class; profiles an individual task.
Constructor
- Parameters
-
name | The name of the performance monitor to create. Must be unique. |
void FinishMeasurement |
( |
| ) |
|
Stop measuring performance. Call this immediately after the code you want to profile
INT_64 LastPerformanceSample |
( |
| ) |
|
- Returns
- Returns the last performance sample, i.e. the amount of time that elapsed between the most recent two calls to StartMeasurement and FinishMeasurement
- Returns
- Returns the name of this performance monitor
void StartMeasurement |
( |
| ) |
|
Start measuring performance. Call this immediately before the code you want to profile
Friendly name for display purposes. Must be unique
The most recent performance sample.
True if measurement has been started (i.e. timer is counting
Timer used to track performance
The documentation for this class was generated from the following file: