|
Ocean
|
This class defines a scoped high performance statistic module. More...
#include <HighPerformanceTimer.h>
Public Member Functions | |
| ScopedStatistic (HighPerformanceStatistic &performance) | |
| Creates a new scoped statistic object and starts a new measurement. | |
| ~ScopedStatistic () | |
| Destructs a scoped statistic object and stops the measurement. | |
| void | release () |
| Explicitly releases the object and does not wait until the scope ends. | |
Private Member Functions | |
| ScopedStatistic (const ScopedStatistic &)=delete | |
| Deleted copy constructor. | |
| ScopedStatistic & | operator= (const ScopedStatistic &)=delete |
| Deleted copy operator. | |
Private Attributes | |
| HighPerformanceStatistic * | statisticPerformance |
| High performance statistic object receiving the measurement value. | |
This class defines a scoped high performance statistic module.
Use this scoped module in combination with a high performance statistic object to add a new performance measurement during the existence of this module.
|
inlineexplicit |
Creates a new scoped statistic object and starts a new measurement.
| performance | High performance statistic object receiving the scoped measurement. |
|
inline |
Destructs a scoped statistic object and stops the measurement.
|
privatedelete |
Deleted copy constructor.
|
privatedelete |
Deleted copy operator.
|
inline |
Explicitly releases the object and does not wait until the scope ends.
|
private |
High performance statistic object receiving the measurement value.