Scaleform::Stat Scaleform::TimerStat
class TimerStat : public Stat;
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.
Class |
Description |
Scope used for timer measurements. |
Data Member |
Description |
Tracks the number of nano-second ticks that passed. |
Method |
Description |
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. | |
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. |
Operator |
Description |
Increments the tick measurements of the current TimerStat object by adding the timer statistics of another TimerStat object to the current one. |
SF_Stats.h