"Chrono"-related part of interface IChronoStatSvc
More...
#include <GaudiKernel/IChronoSvc.h>
|
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.
|
|
enum class | Status : StatusCode::code_t {
FAILURE = 0
, SUCCESS = 1
, NO_INTERFACE
, VERSMISMATCH
,
LAST_ERROR
} |
| Return status. More...
|
|
using | iid = Gaudi::InterfaceId<IInterface, 0, 0> |
| Interface ID.
|
|
using | ext_iids = Gaudi::interface_list<iid> |
| Extra interfaces.
|
|
|
static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface.
|
|
virtual unsigned long | decRef () const =0 |
| Decrement reference count and return the new reference count.
|
|
"Chrono"-related part of interface IChronoStatSvc
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
- Author
- Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u (inspired by Mauro VILLA's codes used within ARTE framework )
- Date
- December 1, 1999
-
2007-07-08
Definition at line 31 of file IChronoSvc.h.
◆ ChronoTag
◆ ChronoTime
◆ ChronoStatus
Enumerator |
---|
UNKNOWN | |
RUNNING | |
STOPPED | |
Definition at line 42 of file IChronoSvc.h.
◆ ChronoType
Enumerator |
---|
USER | |
KERNEL | |
ELAPSED | |
Definition at line 44 of file IChronoSvc.h.
◆ chrono()
extract the chrono entity for the given tag (name)
- Parameters
-
- Returns
- pointer to chrono entity
◆ chronoDelta()
return chrono delta time of last start/stop pair
- Parameters
-
t | chrono tag (name) |
f | chtono type |
- Returns
- delta time
◆ chronoPrint()
virtual void IChronoSvc::chronoPrint |
( |
const ChronoTag & | t | ) |
|
|
pure virtual |
prints (using message service) info about chrono, tagged by its name
- Parameters
-
- Returns
- status code
◆ chronoStart()
start chrono, tagged by its name
- Parameters
-
- Returns
- chrono object
◆ chronoStatus()
return the status of named chrono
- Parameters
-
- Returns
- chrono status
◆ chronoStop()
stop chrono, tagged by its name
- Parameters
-
- Returns
- status code
◆ DeclareInterfaceID()
IChronoSvc::DeclareInterfaceID |
( |
IChronoSvc | , |
|
|
3 | , |
|
|
0 | ) |
The documentation for this class was generated from the following file: