Planeshift
psDBProfiles Class Reference

Statistics of time consumed by SQL statements. More...

#include <dbprofile.h>

Public Member Functions

virtual void AddSQLTime (const csString &sql, csTicks time)
 
csString Dump ()
 
- Public Member Functions inherited from psNamedProfiles
virtual void AddCons (const csString &operName, csTicks time)
 Notify about resource consumption done by operation identified by 'operName'. More...
 
csString Dump (const csString &unitName, const csString &header)
 Builds textual description of all profilling statistics. More...
 
void Reset ()
 
virtual ~psNamedProfiles ()
 needed to clear MSVC warning More...
 
- Public Member Functions inherited from psOperProfileSet
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 Member Functions

void StripConstantsFromSQL (psString &sql)
 

Additional Inherited Members

- Protected Attributes inherited from psNamedProfiles
csHash< psOperProfile *, csString > namedProfs
 Maps strings IDs to their operations. More...
 
- Protected Attributes inherited from psOperProfileSet
csPDelArray< psOperProfileprofs
 
csTicks profStart
 keeps statistics of all operations More...
 

Detailed Description

Statistics of time consumed by SQL statements.

Definition at line 33 of file dbprofile.h.

Member Function Documentation

virtual void psDBProfiles::AddSQLTime ( const csString &  sql,
csTicks  time 
)
virtual
csString psDBProfiles::Dump ( )
void psDBProfiles::StripConstantsFromSQL ( psString sql)
protected

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