Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ChronoEntity Class Reference

class ChronoEntity : a small helper class for implementation of ChronoStatSvc service Author: Vanya Belyaev Date: December 1, 1999. More...

#include <ChronoEntity.h>

List of all members.

Public Types

typedef longlong time_type
 "longlong" from Kernel.h !!! More...


Public Methods

 ChronoEntity ()
 constructor. More...

 ~ChronoEntity ()
 destructor. More...

IChronoStatSvc::ChronoStatus start ()
 start the current chrono. More...

IChronoStatSvc::ChronoStatus stop ()
 stop the chrono. More...

std::string outputUserTime () const
 print the chrono;. More...

std::string outputSystemTime () const
std::string outputEllapsedTime () const
IChronoStatSvc::ChronoStatus status () const
 return the status of chrono. More...

bool operator< ( const ChronoEntity& entity ) const
unsigned long nOfMeasurements () const
 number of chrono measurements. More...

long double uMinimalTime () const
 minimal measurement for user time. More...

long double kMinimalTime () const
 minimal measurement for kernel time. More...

long double eMinimalTime () const
 minimal measurement for ellapsed time. More...

long double uMaximalTime () const
 maximal measurement for user time. More...

long double kMaximalTime () const
 maximal measurement for kernel time. More...

long double eMaximalTime () const
 maximal measurement for ellapsed time. More...

long double uTotalTime () const
 total user time. More...

long double kTotalTime () const
 total Kernel time. More...

long double eTotalTime () const
 total Ellapsed time. More...

long double totalTime () const
 total time. More...

long double uStatistics () const
 sum of squared user time intervals. More...

long double kStatistics () const
 sum of squared Kernel time intervals. More...

long double eStatistics () const
 sum of squared Ellapsed time intervals. More...

long double kMeanTime () const
 statistics average Kernel Time. More...

long double uMeanTime () const
 average User Time. More...

long double eMeanTime () const
 average Ellapsed Time. More...

long double kRMSTime () const
 r.m.s Kernel Time. More...

long double uRMSTime () const
 r.m.s User Time. More...

long double eRMSTime () const
 r.m.s Ellapsed Time. More...

long double kMeanErrorTime () const
 error in mean Kernel time. More...

long double uMeanErrorTime () const
 error in mean User time. More...

long double eMeanErrorTime () const
 error in mean Ellapsed time. More...


Protected Methods

std::string format ( long double total , long double minimal , long double mean , long double rms , long double maximal , unsigned long number ) const
 print the chrono. More...


Private Attributes

IChronoStatSvc::ChronoStatus m_ce_currentStatus
 current status of this chrono object;. More...

unsigned long m_ce_noOfMeasurements
 number of chrono measurements. More...

time_type m_ce_minimalUserTime
 minimal measurement for user time. More...

time_type m_ce_minimalKernelTime
 minimal measurement for kernel time. More...

time_type m_ce_minimalEllapsedTime
 minimal measurement for ellapsed time. More...

time_type m_ce_maximalUserTime
 maximal measurement for user time. More...

time_type m_ce_maximalKernelTime
 maximal measurement for kernel time. More...

time_type m_ce_maximalEllapsedTime
 maximal measurement for ellapsed time. More...

time_type m_ce_totalUserTime
 total user time. More...

time_type m_ce_totalKernelTime
 total Kernel time. More...

time_type m_ce_totalEllapsedTime
 total Ellapsed time. More...

time_type m_ce_statisticsForUserTime
 sum of squared user time intervals. More...

time_type m_ce_statisticsForKernelTime
 sum of squared Kernel time intervals. More...

time_type m_ce_statisticsForEllapsedTime
 sum of squared Ellpsed time intervals. More...

time_type m_ce_startOfCurrentMeasurementOfUserTime
 start stamp for current measurement of user time. More...

time_type m_ce_startOfCurrentMeasurementOfKernelTime
 start stamp for current measurement of Kernel time. More...

time_type m_ce_startOfCurrentMeasurementOfEllapsedTime
 start stamp for current measurement of Ellapsed time. More...


Detailed Description

class ChronoEntity : a small helper class for implementation of ChronoStatSvc service Author: Vanya Belyaev Date: December 1, 1999.

Definition at line 20 of file ChronoEntity.h.


Member Typedef Documentation

typedef longlong ChronoEntity::time_type
 

"longlong" from Kernel.h !!!

Definition at line 27 of file ChronoEntity.h.


Constructor & Destructor Documentation

ChronoEntity::ChronoEntity ( )
 

constructor.

Definition at line 26 of file ChronoEntity.cpp.

ChronoEntity::~ChronoEntity ( ) [inline]
 

destructor.

Definition at line 33 of file ChronoEntity.h.


Member Function Documentation

long double ChronoEntity::eMaximalTime ( ) const [inline]
 

maximal measurement for ellapsed time.

Definition at line 79 of file ChronoEntity.h.

Referenced by outputEllapsedTime().

long double ChronoEntity::eMeanErrorTime ( ) const [inline]
 

error in mean Ellapsed time.

Definition at line 233 of file ChronoEntity.h.

long double ChronoEntity::eMeanTime ( ) const [inline]
 

average Ellapsed Time.

Definition at line 108 of file ChronoEntity.h.

Referenced by eRMSTime(), and outputEllapsedTime().

long double ChronoEntity::eMinimalTime ( ) const [inline]
 

minimal measurement for ellapsed time.

Definition at line 70 of file ChronoEntity.h.

Referenced by outputEllapsedTime().

long double ChronoEntity::eRMSTime ( ) const [inline]
 

r.m.s Ellapsed Time.

Definition at line 214 of file ChronoEntity.h.

Referenced by eMeanErrorTime(), and outputEllapsedTime().

long double ChronoEntity::eStatistics ( ) const [inline]
 

sum of squared Ellapsed time intervals.

Definition at line 100 of file ChronoEntity.h.

Referenced by eRMSTime().

long double ChronoEntity::eTotalTime ( ) const [inline]
 

total Ellapsed time.

Definition at line 88 of file ChronoEntity.h.

Referenced by eMeanTime(), and operator<().

std::string ChronoEntity::format ( long double total,
long double minimal,
long double mean,
long double rms,
long double maximal,
unsigned long number ) const [protected]
 

print the chrono.

Definition at line 163 of file ChronoEntity.cpp.

Referenced by outputEllapsedTime(), outputSystemTime(), and outputUserTime().

long double ChronoEntity::kMaximalTime ( ) const [inline]
 

maximal measurement for kernel time.

Definition at line 76 of file ChronoEntity.h.

Referenced by outputSystemTime().

long double ChronoEntity::kMeanErrorTime ( ) const [inline]
 

error in mean Kernel time.

Definition at line 223 of file ChronoEntity.h.

long double ChronoEntity::kMeanTime ( ) const [inline]
 

statistics average Kernel Time.

Definition at line 104 of file ChronoEntity.h.

Referenced by kRMSTime(), and outputSystemTime().

long double ChronoEntity::kMinimalTime ( ) const [inline]
 

minimal measurement for kernel time.

Definition at line 67 of file ChronoEntity.h.

Referenced by outputSystemTime().

long double ChronoEntity::kRMSTime ( ) const [inline]
 

r.m.s Kernel Time.

Definition at line 196 of file ChronoEntity.h.

Referenced by kMeanErrorTime(), and outputSystemTime().

long double ChronoEntity::kStatistics ( ) const [inline]
 

sum of squared Kernel time intervals.

Definition at line 97 of file ChronoEntity.h.

Referenced by kRMSTime().

long double ChronoEntity::kTotalTime ( ) const [inline]
 

total Kernel time.

Definition at line 85 of file ChronoEntity.h.

Referenced by kMeanTime(), and totalTime().

unsigned long ChronoEntity::nOfMeasurements ( ) const [inline]
 

number of chrono measurements.

Definition at line 60 of file ChronoEntity.h.

Referenced by eMeanErrorTime(), eMeanTime(), eRMSTime(), kMeanErrorTime(), kMeanTime(), kRMSTime(), outputEllapsedTime(), outputSystemTime(), outputUserTime(), uMeanErrorTime(), uMeanTime(), and uRMSTime().

bool ChronoEntity::operator< ( const ChronoEntity & e ) const [inline]
 

Definition at line 238 of file ChronoEntity.h.

std::string ChronoEntity::outputEllapsedTime ( ) const [inline]
 

Definition at line 301 of file ChronoEntity.h.

Referenced by ChronoStatSvc::finalize().

std::string ChronoEntity::outputSystemTime ( ) const [inline]
 

Definition at line 286 of file ChronoEntity.h.

Referenced by ChronoStatSvc::finalize().

std::string ChronoEntity::outputUserTime ( ) const [inline]
 

print the chrono;.

Definition at line 270 of file ChronoEntity.h.

Referenced by ChronoStatSvc::finalize().

IChronoStatSvc::ChronoStatus ChronoEntity::start ( )
 

start the current chrono.

Definition at line 68 of file ChronoEntity.cpp.

IChronoStatSvc::ChronoStatus ChronoEntity::status ( ) const [inline]
 

return the status of chrono.

Definition at line 53 of file ChronoEntity.h.

Referenced by start(), and stop().

IChronoStatSvc::ChronoStatus ChronoEntity::stop ( )
 

stop the chrono.

Definition at line 91 of file ChronoEntity.cpp.

Referenced by ChronoStatSvc::finalize().

long double ChronoEntity::totalTime ( ) const [inline]
 

total time.

Definition at line 91 of file ChronoEntity.h.

Referenced by operator<().

long double ChronoEntity::uMaximalTime ( ) const [inline]
 

maximal measurement for user time.

Definition at line 73 of file ChronoEntity.h.

Referenced by outputUserTime().

long double ChronoEntity::uMeanErrorTime ( ) const [inline]
 

error in mean User time.

Definition at line 228 of file ChronoEntity.h.

long double ChronoEntity::uMeanTime ( ) const [inline]
 

average User Time.

Definition at line 106 of file ChronoEntity.h.

Referenced by outputUserTime(), and uRMSTime().

long double ChronoEntity::uMinimalTime ( ) const [inline]
 

minimal measurement for user time.

Definition at line 64 of file ChronoEntity.h.

Referenced by outputUserTime().

long double ChronoEntity::uRMSTime ( ) const [inline]
 

r.m.s User Time.

Definition at line 205 of file ChronoEntity.h.

Referenced by outputUserTime(), and uMeanErrorTime().

long double ChronoEntity::uStatistics ( ) const [inline]
 

sum of squared user time intervals.

Definition at line 94 of file ChronoEntity.h.

Referenced by uRMSTime().

long double ChronoEntity::uTotalTime ( ) const [inline]
 

total user time.

Definition at line 82 of file ChronoEntity.h.

Referenced by operator<(), totalTime(), and uMeanTime().


Member Data Documentation

IChronoStatSvc::ChronoStatus ChronoEntity::m_ce_currentStatus [private]
 

current status of this chrono object;.

Definition at line 140 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_maximalEllapsedTime [private]
 

maximal measurement for ellapsed time.

Definition at line 161 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_maximalKernelTime [private]
 

maximal measurement for kernel time.

Definition at line 158 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_maximalUserTime [private]
 

maximal measurement for user time.

Definition at line 155 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_minimalEllapsedTime [private]
 

minimal measurement for ellapsed time.

Definition at line 152 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_minimalKernelTime [private]
 

minimal measurement for kernel time.

Definition at line 149 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_minimalUserTime [private]
 

minimal measurement for user time.

Definition at line 146 of file ChronoEntity.h.

unsigned long ChronoEntity::m_ce_noOfMeasurements [private]
 

number of chrono measurements.

Definition at line 143 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_startOfCurrentMeasurementOfEllapsedTime [private]
 

start stamp for current measurement of Ellapsed time.

Definition at line 188 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_startOfCurrentMeasurementOfKernelTime [private]
 

start stamp for current measurement of Kernel time.

Definition at line 185 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_startOfCurrentMeasurementOfUserTime [private]
 

start stamp for current measurement of user time.

Definition at line 182 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_statisticsForEllapsedTime [private]
 

sum of squared Ellpsed time intervals.

Definition at line 179 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_statisticsForKernelTime [private]
 

sum of squared Kernel time intervals.

Definition at line 176 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_statisticsForUserTime [private]
 

sum of squared user time intervals.

Definition at line 173 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_totalEllapsedTime [private]
 

total Ellapsed time.

Definition at line 170 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_totalKernelTime [private]
 

total Kernel time.

Definition at line 167 of file ChronoEntity.h.

time_type ChronoEntity::m_ce_totalUserTime [private]
 

total user time.

Definition at line 164 of file ChronoEntity.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:32 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000