Equalizer
1.6.1
|
Utility to sample an statistics event. More...
#include <statisticSampler.h>
Public Member Functions | |
StatisticSampler (const Statistic::Type type, Owner *owner, const uint32_t frameNumber=LB_UNDEFINED_UINT32) | |
Construct a new statistics sampler. More... | |
virtual | ~StatisticSampler () |
Destruct and finish statistics sampling. More... | |
Public Attributes | |
ConfigEvent | event |
The statistics event. | |
Protected Attributes | |
Owner *const | _owner |
Utility to sample an statistics event.
Holds a ConfigEvent, which is initialized from the owner's data during initialization. Subclasses implement the constructor and destructor to sample the times and process the gathered statistics.
Definition at line 33 of file statisticSampler.h.
|
inline |
Construct a new statistics sampler.
type | The statistics type. |
owner | The originator of the statistics event. |
frameNumber | The current frame. |
Definition at line 44 of file statisticSampler.h.
|
inlinevirtual |
Destruct and finish statistics sampling.
Definition at line 65 of file statisticSampler.h.