TimerStat

TimerStat
Scaleform::Stat
    Scaleform::TimerStat
Declaration
class TimerStat : public Stat;
Description

TimerStat records the number of nano-second ticks used for a certain measured activity, such as rendering or tessellation. The time is most easily measured by using the TimerStat::ScopeTimer scope object around the code whose performance is to be measured. Every time that block of code is executed, the number of ticks will be incremented appropriately.

Classes
Class 
Description 
Scope used for timer measurements. 
Data Members
Data Member 
Description 
Tracks the number of nano-second ticks that passed. 
Methods
Method 
Description 
Add 
Adds the timer statistics of another TimerStat object to the current object. 
Adds the tick value passed to the timer. 
Returns the type of the statistics generated. 
Obtains the statistics value of the timer. 
Returns the maximum number of statistics in the timer. 
Retrieves the number of nano-second ticks used for a measured activity. 
Init 
Initializes the timer statistics. 
Initializes the TimerStat object. 
Resets the timer statistics value to zero. 
Compares with another TimerStat object and sets the maximum of the tick value to the current TimerStat object. 
Compares with another TimerStat object and sets the minimum of the tick value to the current TimerStat object. 
Initializes the scope object to measure the time. 
Operators
Operator 
Description 
+= 
Increments the tick measurements of the current TimerStat object by adding the timer statistics of another TimerStat object to the current one. 
File

SF_Stats.h