Planeshift
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>

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. More...
 
 psOperProfileSet ()
 
void Reset ()
 

Protected Attributes

csPDelArray< psOperProfileprofs
 
csTicks profStart
 keeps statistics of all operations More...
 

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 ( )

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: