19 #ifndef EQ_STATISTICSAMPLER_H 20 #define EQ_STATISTICSAMPLER_H 23 #include <eq/fabric/statistic.h> 46 const uint32_t frameNumber = LB_UNDEFINED_UINT32 )
50 LBASSERT( owner->getID() != 0 );
51 LBASSERT( owner->getSerial() != CO_INSTANCE_INVALID );
58 if(
statistic.frameNumber == LB_UNDEFINED_UINT32 )
59 statistic.frameNumber = owner->getCurrentFrame();
76 #endif // EQ_STATISTICSAMPLER_H Utility to sample an statistics event.
Statistic statistic
The statistics event.
virtual ~StatisticSampler()
Destruct and finish statistics sampling.
The Equalizer client library.
StatisticSampler(const Statistic::Type type, Owner *owner, const uint32_t frameNumber=LB_UNDEFINED_UINT32)
Construct a new statistics sampler.