![]() |
|
|
Generated: 18 Jul 2008 |
#include <GaudiKernel/IChronoSvc.h>
Inheritance diagram for IChronoSvc:


The IChronoSvc is the interface implemented by the ChronoStatService. This interface is used by any algorithm or services wanting to study its own performance and CPU consumption and some statistical computation
2007-07-08
Definition at line 33 of file IChronoSvc.h.
Public Types | |
| enum | ChronoStatus { UNKNOWN = 0, RUNNING, STOPPED } |
| enum | ChronoType { USER = 0, KERNEL, ELAPSED } |
| typedef std::string | ChronoTag |
| the actual type of identifier for Chrono objects | |
| typedef double | ChronoTime |
| Type of the delta-time. | |
Public Member Functions | |
| virtual ChronoEntity * | chronoStart (const ChronoTag &t)=0 |
| start chrono, tagged by its name | |
| virtual const ChronoEntity * | chronoStop (const ChronoTag &t)=0 |
| stop chrono, tagged by its name | |
| virtual ChronoTime | chronoDelta (const ChronoTag &t, ChronoType f)=0 |
| return chrono delta time of last start/stop pair | |
| virtual void | chronoPrint (const ChronoTag &t)=0 |
| prints (using message service) info about chrono, tagged by its name | |
| virtual ChronoStatus | chronoStatus (const ChronoTag &t)=0 |
| return the status of named chrono | |
| virtual const ChronoEntity * | chrono (const ChronoTag &t) const =0 |
| extract the chrono entity for the given tag (name) | |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| the unique interface identifier | |
Protected Member Functions | |
| virtual | ~IChronoSvc () |
| protected and virtual destructor | |
| typedef std::string IChronoSvc::ChronoTag |
| typedef double IChronoSvc::ChronoTime |
| IChronoSvc::~IChronoSvc | ( | ) | [protected, virtual] |
| virtual ChronoEntity* IChronoSvc::chronoStart | ( | const ChronoTag & | t | ) | [pure virtual] |
start chrono, tagged by its name
| t | chrono tag (name) |
Referenced by ChronoAuditor::beforeBeginRun(), ChronoAuditor::beforeEndRun(), ChronoAuditor::beforeExecute(), ChronoAuditor::beforeFinalize(), ChronoAuditor::beforeInitialize(), and ChronoAuditor::beforeReinitialize().
| virtual const ChronoEntity* IChronoSvc::chronoStop | ( | const ChronoTag & | t | ) | [pure virtual] |
stop chrono, tagged by its name
| t | chrono tag (name) |
Referenced by ChronoAuditor::afterBeginRun(), ChronoAuditor::afterEndRun(), ChronoAuditor::afterExecute(), ChronoAuditor::afterFinalize(), ChronoAuditor::afterInitialize(), and ChronoAuditor::afterReinitialize().
| virtual ChronoTime IChronoSvc::chronoDelta | ( | const ChronoTag & | t, | |
| ChronoType | f | |||
| ) | [pure virtual] |
return chrono delta time of last start/stop pair
| t | chrono tag (name) | |
| f | chtono type |
| virtual void IChronoSvc::chronoPrint | ( | const ChronoTag & | t | ) | [pure virtual] |
prints (using message service) info about chrono, tagged by its name
| t | chrono tag (name) |
| virtual ChronoStatus IChronoSvc::chronoStatus | ( | const ChronoTag & | t | ) | [pure virtual] |
return the status of named chrono
| t | chrono tag (name) |
| virtual const ChronoEntity* IChronoSvc::chrono | ( | const ChronoTag & | t | ) | const [pure virtual] |
extract the chrono entity for the given tag (name)
| t | chrono tag(name) |
| const InterfaceID & IChronoSvc::interfaceID | ( | ) | [static] |
the unique interface identifier
Reimplemented from IInterface.
Reimplemented in IChronoStatSvc.
Definition at line 20 of file IChronoStatSvc.cpp.
Referenced by ChronoStatSvc::queryInterface().
00021 { 00022 static const InterfaceID s_iid ( "IChronoSvc" , 2 , 0 ) ; 00023 return s_iid ; 00024 }