Planeshift
psNetMsgProfiles Class Reference

Statistics of receiving or sending of network messages. More...

#include <netprofile.h>

Public Member Functions

void AddReceivedMsg (MsgEntry *me)
 
void AddSentMsg (MsgEntry *me)
 
csString Dump ()
 
void Reset ()
 
- 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 AddEnoughRecords (csArray< psOperProfile * > &profs, int neededIndex, const char *desc)
 

Protected Attributes

csArray< psOperProfile * > recvProfs
 Statistics for receiving and sending of different message types. More...
 
csArray< psOperProfile * > sentProfs
 
- Protected Attributes inherited from psOperProfileSet
csPDelArray< psOperProfileprofs
 
csTicks profStart
 keeps statistics of all operations More...
 

Detailed Description

Statistics of receiving or sending of network messages.

Definition at line 35 of file netprofile.h.

Member Function Documentation

void psNetMsgProfiles::AddEnoughRecords ( csArray< psOperProfile * > &  profs,
int  neededIndex,
const char *  desc 
)
protected
void psNetMsgProfiles::AddReceivedMsg ( MsgEntry me)
void psNetMsgProfiles::AddSentMsg ( MsgEntry me)
csString psNetMsgProfiles::Dump ( )
void psNetMsgProfiles::Reset ( )

Member Data Documentation

csArray<psOperProfile*> psNetMsgProfiles::recvProfs
protected

Statistics for receiving and sending of different message types.

Definition at line 48 of file netprofile.h.

csArray<psOperProfile*> psNetMsgProfiles::sentProfs
protected

Definition at line 48 of file netprofile.h.


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