Ocean
|
This class defines a scoped high performance statistic module. More...
Public Member Functions | |
ScopedStatistic (HighPerformanceStatistic &performance) | |
Creates a new scoped statistic object and starts a new measurement. More... | |
~ScopedStatistic () | |
Destructs a scoped statistic object and stops the measurement. More... | |
void | release () |
Explicitly releases the object and does not wait until the scope ends. More... | |
Private Member Functions | |
ScopedStatistic (const ScopedStatistic &)=delete | |
Deleted copy constructor. More... | |
ScopedStatistic & | operator= (const ScopedStatistic &)=delete |
Deleted copy operator. More... | |
Private Attributes | |
HighPerformanceStatistic * | statisticPerformance |
High performance statistic object receiving the measurement value. More... | |
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.