#include <perfstat.h>
Inheritance diagram for iPerfStats:
Public Methods | |
virtual bool | Pause (bool pause)=0 |
Set whether paused. Returns previous status. | |
virtual void | FinishSection ()=0 |
virtual void | ResetStats ()=0 |
Reset all statistics back to zero. | |
virtual void | SetResolution (int iMilSecs)=0 |
The frames per second is really the resolution number of frames divided by the time taken to complete them. More... | |
virtual void | SetName (const char *Name)=0 |
Set the name of this section, which will be utilised if the stats are printed to file. | |
virtual void | SetOutputFile (const char *Name, bool summary)=0 |
Output stats to named file. If summary is true, you'll get a summary. | |
virtual float | GetFPS ()=0 |
Get the current fps. | |
virtual iPerfStats* | StartNewSubsection (const char *name)=0 |
Start a new set of performance statistics as a subsection, with an optional name. More... | |
virtual void | FinishSubsection ()=0 |
Finish the subsection. This will DecRef () the subsection. | |
virtual bool | IsSubsection ()=0 |
Is there currently a subsection? | |
virtual void | PrintSectionStats (int sysflags)=0 |
Print this sections current summary stats, where sysflags is for the reporter. | |
virtual void | PrintSubsectionStats (int sysflags)=0 |
Print the subsections current stats, where sysflags is for the reporter. | |
virtual void | DebugSetBreak (int frame_num)=0 |
When ran with a debugger, this should cause it to break when starting this frame number, if compiled without CS_DEBUG it will have no effect. More... |
This plugin tracks and records all kinds of useful information while the program is running.
|
When ran with a debugger, this should cause it to break when starting this frame number, if compiled without CS_DEBUG it will have no effect. If you load this plugin last (like in walktest) then set frame_num to one less. |
|
The frames per second is really the resolution number of frames divided by the time taken to complete them. Set to -1 to disable (the default). The resolution is the time interval in milliseconds in which a frames-per-second value is computed. |
|
Start a new set of performance statistics as a subsection, with an optional name. If you intend to print all the stats to file then this name will identify the subsection. |