Planeshift
Public Member Functions | Protected Attributes

psOperProfileSet Class Reference

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>

List of all members.

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< psOperProfileprofs
csTicks profStart
 keeps statistics of all operations

Detailed Description

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.


Constructor & Destructor Documentation

psOperProfileSet::psOperProfileSet ( )

Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file: