Planeshift
|
Statistics for all kinds of operations This class is abstract, you have to inherit from it to use it, for example add a method that will be called to collect statistics. More...
#include <psprofile.h>
Public Member Functions | |
void | Dump (const csStringFast< 50 > &unitName, csStringFast< 50 > &header, csStringFast< 50 > &list) |
Builds textual description of all profilling statistics and returns it in two separate parts. | |
psOperProfileSet () | |
void | Reset () |
Protected Attributes | |
csPDelArray< psOperProfile > | profs |
csTicks | profStart |
keeps statistics of all operations |
Statistics for all kinds of operations This class is abstract, you have to inherit from it to use it, for example add a method that will be called to collect statistics.
Definition at line 82 of file psprofile.h.
psOperProfileSet::psOperProfileSet | ( | ) |
void psOperProfileSet::Dump | ( | const csStringFast< 50 > & | unitName, |
csStringFast< 50 > & | header, | ||
csStringFast< 50 > & | list | ||
) |
Builds textual description of all profilling statistics and returns it in two separate parts.
void psOperProfileSet::Reset | ( | ) |
Reimplemented in psNetMsgProfiles, and psNamedProfiles.
csPDelArray<psOperProfile> psOperProfileSet::profs [protected] |
Definition at line 94 of file psprofile.h.
csTicks psOperProfileSet::profStart [protected] |
keeps statistics of all operations
The time when we began collecting the stats
Definition at line 97 of file psprofile.h.