![]()  | 
  
    The Gaudi Framework
    v29r0 (ff2e7097)
    
   | 
 
a small helper class for implementation of ChronoStatSvc service, It also could be used as some local timer More...
#include <GaudiKernel/ChronoEntity.h>

Public Member Functions | |
| ChronoEntity ()=default | |
| default constructor  More... | |
| IChronoSvc::ChronoStatus | start () | 
| start the current chrono  More... | |
| IChronoSvc::ChronoStatus | stop () | 
| stop the chrono  More... | |
| IChronoSvc::ChronoTime | delta (IChronoSvc::ChronoType type) const | 
| return the last delta-time of type "type"  More... | |
| IChronoSvc::ChronoStatus | status () const | 
| return the status of chrono  More... | |
| unsigned long | nOfMeasurements () const | 
| number of chrono measurements  More... | |
| double | uMinimalTime () const | 
| minimal measurement for user time  More... | |
| double | kMinimalTime () const | 
| minimal measurement for kernel time  More... | |
| double | eMinimalTime () const | 
| minimal measurement for elapsed time  More... | |
| double | uMaximalTime () const | 
| maximal measurement for user time  More... | |
| double | kMaximalTime () const | 
| maximal measurement for kernel time  More... | |
| double | eMaximalTime () const | 
| maximal measurement for elapsed time  More... | |
| double | uTotalTime () const | 
| total user time  More... | |
| double | kTotalTime () const | 
| total Kernel time  More... | |
| double | eTotalTime () const | 
| total Elapsed time  More... | |
| double | totalTime () const | 
| total time  More... | |
| double | kMeanTime () const | 
| average Kernel Time  More... | |
| double | uMeanTime () const | 
| average User Time  More... | |
| double | eMeanTime () const | 
| average Elapsed Time  More... | |
| double | kRMSTime () const | 
| r.m.s Kernel Time  More... | |
| double | uRMSTime () const | 
| r.m.s User Time  More... | |
| double | eRMSTime () const | 
| r.m.s Elapsed Time  More... | |
| double | kMeanErrorTime () const | 
| error in mean Kernel time  More... | |
| double | uMeanErrorTime () const | 
| error in mean User time  More... | |
| double | eMeanErrorTime () const | 
| error in mean Elapsed time  More... | |
| bool | operator< (const ChronoEntity &entity) const | 
| comparison operator  More... | |
| ChronoEntity & | operator+= (const ChronoEntity &entity) | 
| Compound assignment operator.  More... | |
| std::string | outputUserTime () const | 
| print the chrono ;  More... | |
| std::string | outputSystemTime () const | 
| print the chrono ;  More... | |
| std::string | outputElapsedTime () const | 
| print the chrono ;  More... | |
| std::string | outputUserTime (const std::string &fmt, System::TimeType unit) const | 
| print the chrono according the format and units  More... | |
| std::string | outputSystemTime (const std::string &fmt, System::TimeType unit) const | 
| print the chrono according the format and units  More... | |
| std::string | outputElapsedTime (const std::string &fmt, System::TimeType unit) const | 
| print the chrono according the format and units  More... | |
| std::string | outputTime (IChronoSvc::ChronoType typ, const std::string &fmt, System::TimeType unit) const | 
| print the chrono according the format and units  More... | |
Protected Member Functions | |
| std::string | format (const double total, const double minimal, const double mean, const double rms, const double maximal, const unsigned long number) const | 
| format  More... | |
Private Attributes | |
| IChronoSvc::ChronoStatus | m_status = IChronoSvc::UNKNOWN | 
| current status of this chrono object;  More... | |
| System::ProcessTime | m_delta | 
| delta process times  More... | |
| System::ProcessTime | m_start | 
| start stamp for current measurement of process times  More... | |
| StatEntity | m_user | 
| the actual storage of "user" time  More... | |
| StatEntity | m_kernel | 
| the actual storage of "kernel" time  More... | |
| StatEntity | m_elapsed | 
| the actual storage of "elapsed" time  More... | |
Static Private Attributes | |
| static const System::TimeType | TimeUnit = System::microSec | 
| internal unit used for the system time conversion (microseconds)  More... | |
a small helper class for implementation of ChronoStatSvc service, It also could be used as some local timer
Definition at line 21 of file ChronoEntity.h.
      
  | 
  default | 
default constructor
      
  | 
  inline | 
return the last delta-time of type "type"
Definition at line 259 of file ChronoEntity.h.
      
  | 
  inline | 
maximal measurement for elapsed time
Definition at line 203 of file ChronoEntity.h.
      
  | 
  inline | 
error in mean Elapsed time
Definition at line 255 of file ChronoEntity.h.
      
  | 
  inline | 
average Elapsed Time
Definition at line 231 of file ChronoEntity.h.
      
  | 
  inline | 
minimal measurement for elapsed time
Definition at line 191 of file ChronoEntity.h.
      
  | 
  inline | 
r.m.s Elapsed Time
Definition at line 243 of file ChronoEntity.h.
      
  | 
  inline | 
total Elapsed time
Definition at line 215 of file ChronoEntity.h.
      
  | 
  protected | 
format
Definition at line 112 of file ChronoEntity.cpp.
      
  | 
  inline | 
maximal measurement for kernel time
Definition at line 199 of file ChronoEntity.h.
      
  | 
  inline | 
error in mean Kernel time
Definition at line 247 of file ChronoEntity.h.
      
  | 
  inline | 
average Kernel Time
Definition at line 223 of file ChronoEntity.h.
      
  | 
  inline | 
minimal measurement for kernel time
Definition at line 187 of file ChronoEntity.h.
      
  | 
  inline | 
r.m.s Kernel Time
Definition at line 235 of file ChronoEntity.h.
      
  | 
  inline | 
total Kernel time
Definition at line 211 of file ChronoEntity.h.
      
  | 
  inline | 
number of chrono measurements
Definition at line 179 of file ChronoEntity.h.
| ChronoEntity & ChronoEntity::operator+= | ( | const ChronoEntity & | entity | ) | 
Compound assignment operator.
Definition at line 172 of file ChronoEntity.cpp.
| bool ChronoEntity::operator< | ( | const ChronoEntity & | entity | ) | const | 
comparison operator
Definition at line 150 of file ChronoEntity.cpp.
| std::string ChronoEntity::outputElapsedTime | ( | ) | const | 
print the chrono ;
Definition at line 104 of file ChronoEntity.cpp.
      
  | 
  inline | 
print the chrono according the format and units
| fmt | the format string | 
| unit | the unit | 
Definition at line 306 of file ChronoEntity.h.
| std::string ChronoEntity::outputSystemTime | ( | ) | const | 
print the chrono ;
Definition at line 97 of file ChronoEntity.cpp.
      
  | 
  inline | 
print the chrono according the format and units
| fmt | the format string | 
| unit | the unit | 
Definition at line 294 of file ChronoEntity.h.
| std::string ChronoEntity::outputTime | ( | IChronoSvc::ChronoType | typ, | 
| const std::string & | fmt, | ||
| System::TimeType | unit | ||
| ) | const | 
print the chrono according the format and units
The format fields are:
| typ | the chrono type | 
| fmt | the format string | 
| unit | the unit | 
Definition at line 199 of file ChronoEntity.cpp.
| std::string ChronoEntity::outputUserTime | ( | ) | const | 
print the chrono ;
Definition at line 89 of file ChronoEntity.cpp.
      
  | 
  inline | 
print the chrono according the format and units
| fmt | the format string | 
| unit | the unit | 
Definition at line 282 of file ChronoEntity.h.
| IChronoSvc::ChronoStatus ChronoEntity::start | ( | ) | 
start the current chrono
Definition at line 47 of file ChronoEntity.cpp.
      
  | 
  inline | 
return the status of chrono
Definition at line 175 of file ChronoEntity.h.
| IChronoSvc::ChronoStatus ChronoEntity::stop | ( | ) | 
stop the chrono
Definition at line 65 of file ChronoEntity.cpp.
      
  | 
  inline | 
      
  | 
  inline | 
maximal measurement for user time
Definition at line 195 of file ChronoEntity.h.
      
  | 
  inline | 
error in mean User time
Definition at line 251 of file ChronoEntity.h.
      
  | 
  inline | 
average User Time
Definition at line 227 of file ChronoEntity.h.
      
  | 
  inline | 
minimal measurement for user time
Definition at line 183 of file ChronoEntity.h.
      
  | 
  inline | 
r.m.s User Time
Definition at line 239 of file ChronoEntity.h.
      
  | 
  inline | 
total user time
Definition at line 207 of file ChronoEntity.h.
      
  | 
  private | 
delta process times
Definition at line 159 of file ChronoEntity.h.
      
  | 
  private | 
the actual storage of "elapsed" time
Definition at line 167 of file ChronoEntity.h.
      
  | 
  private | 
the actual storage of "kernel" time
Definition at line 165 of file ChronoEntity.h.
      
  | 
  private | 
start stamp for current measurement of process times
Definition at line 161 of file ChronoEntity.h.
      
  | 
  private | 
current status of this chrono object;
Definition at line 157 of file ChronoEntity.h.
      
  | 
  private | 
the actual storage of "user" time
Definition at line 163 of file ChronoEntity.h.
      
  | 
  staticprivate | 
internal unit used for the system time conversion (microseconds)
Definition at line 169 of file ChronoEntity.h.