![]() |
The Gaudi Framework
v26r0
|
The IChronoStatSvc is the interface implemented by the ChronoStatService. More...
#include <GaudiKernel/IChronoStatSvc.h>
Public Member Functions | |
DeclareInterfaceIDMultiBase (IChronoStatSvc, 6, 0) | |
InterfaceID. More... | |
![]() | |
virtual | ~extend_interfaces3 () |
Virtual destructor. More... | |
![]() | |
DeclareInterfaceID (IService, 3, 0) | |
InterfaceID. More... | |
virtual StatusCode | sysInitialize ()=0 |
Initialize Service. More... | |
virtual StatusCode | sysStart ()=0 |
Start Service. More... | |
virtual StatusCode | sysStop ()=0 |
Stop Service. More... | |
virtual StatusCode | sysFinalize ()=0 |
Finalize Service. More... | |
virtual StatusCode | sysReinitialize ()=0 |
Re-initialize the Service. More... | |
virtual StatusCode | sysRestart ()=0 |
Re-start the Service. More... | |
virtual StatusCode | configure ()=0 |
Configuration (from OFFLINE to CONFIGURED). More... | |
virtual StatusCode | initialize ()=0 |
Initialization (from CONFIGURED to INITIALIZED). More... | |
virtual StatusCode | start ()=0 |
Start (from INITIALIZED to RUNNING). More... | |
virtual StatusCode | stop ()=0 |
Stop (from RUNNING to INITIALIZED). More... | |
virtual StatusCode | finalize ()=0 |
Finalize (from INITIALIZED to CONFIGURED). More... | |
virtual StatusCode | terminate ()=0 |
Initialization (from CONFIGURED to OFFLINE). More... | |
virtual StatusCode | reinitialize ()=0 |
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED). More... | |
virtual StatusCode | restart ()=0 |
Initialization (from RUNNING to RUNNING, via INITIALIZED). More... | |
virtual Gaudi::StateMachine::State | FSMState () const =0 |
Get the current state. More... | |
virtual Gaudi::StateMachine::State | targetFSMState () const =0 |
When we are in the middle of a transition, get the state where the transition is leading us. More... | |
virtual | ~IService () |
virtual destructor More... | |
![]() | |
DeclareInterfaceID (INamedInterface, 1, 0) | |
InterfaceID. More... | |
virtual const std::string & | name () const =0 |
Retrieve the name of the instance. More... | |
virtual | ~INamedInterface () |
Virtual destructor (always needed for abstract classes). More... | |
![]() | |
virtual void * | i_cast (const InterfaceID &) const =0 |
main cast function More... | |
virtual std::vector< std::string > | getInterfaceNames () const =0 |
Returns a vector of strings containing the names of all the implemented interfaces. More... | |
virtual unsigned long | addRef ()=0 |
Increment the reference count of Interface instance. More... | |
virtual unsigned long | release ()=0 |
Release Interface instance. More... | |
virtual unsigned long | refCount () const =0 |
Current reference count. More... | |
virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
Set the void** to the pointer to the requested interface of the instance. More... | |
virtual | ~IInterface () |
Virtual destructor. More... | |
![]() | |
DeclareInterfaceID (IChronoSvc, 3, 0) | |
InterfaceID. More... | |
virtual ChronoEntity * | chronoStart (const ChronoTag &t)=0 |
start chrono, tagged by its name More... | |
virtual const ChronoEntity * | chronoStop (const ChronoTag &t)=0 |
stop chrono, tagged by its name More... | |
virtual ChronoTime | chronoDelta (const ChronoTag &t, ChronoType f)=0 |
return chrono delta time of last start/stop pair More... | |
virtual void | chronoPrint (const ChronoTag &t)=0 |
prints (using message service) info about chrono, tagged by its name More... | |
virtual ChronoStatus | chronoStatus (const ChronoTag &t)=0 |
return the status of named chrono More... | |
virtual const ChronoEntity * | chrono (const ChronoTag &t) const =0 |
extract the chrono entity for the given tag (name) More... | |
![]() | |
DeclareInterfaceID (IStatSvc, 2, 0) | |
InterfaceID. More... | |
virtual void | stat (const StatTag &t, const StatFlag &f)=0 |
add statistical information to the entity , tagged by its name More... | |
virtual void | statPrint (const StatTag &t)=0 |
prints (using message service) info about statistical entity, tagged by its name More... | |
virtual const StatEntity * | stat (const StatTag &t) const =0 |
extract the stat entity for the given tag (name) More... | |
Protected Member Functions | |
virtual | ~IChronoStatSvc () |
virtual desctructor More... | |
![]() | |
virtual void | setServiceManager (ISvcManager *)=0 |
![]() | |
virtual | ~IChronoSvc () |
protected and virtual destructor More... | |
![]() | |
virtual | ~IStatSvc () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
typedef mpl::fold< typename IService::iid::iids::type, typename mpl::fold< typename IChronoSvc::iid::iids::type, typename IStatSvc::iid::iids::type, mpl::insert< mpl::_1, mpl::_2 > >::type, mpl::insert< mpl::_1, mpl::_2 > >::type | ext_iids |
MPL set of interfaces extended by this one. More... | |
![]() | |
enum | Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR } |
Return status. More... | |
typedef Gaudi::InterfaceId < IInterface, 0, 0 > | iid |
Interface ID. More... | |
typedef mpl::set1< iid > | ext_iids |
Extra interfaces. More... | |
![]() | |
enum | ChronoStatus { UNKNOWN = 0, RUNNING, STOPPED } |
enum | ChronoType { USER = 0, KERNEL, ELAPSED } |
typedef std::string | ChronoTag |
the actual type of identifier for Chrono objects More... | |
typedef double | ChronoTime |
Type of the delta-time. More... | |
![]() | |
typedef std::string | StatTag |
the actual identificator of Stat More... | |
typedef double | StatFlag |
the actual value type used for Stat More... | |
![]() | |
static const InterfaceID & | interfaceID () |
Return an instance of InterfaceID identifying the interface. More... | |
The IChronoStatSvc 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
Definition at line 36 of file IChronoStatSvc.h.
|
protectedvirtual |
IChronoStatSvc::DeclareInterfaceIDMultiBase | ( | IChronoStatSvc | , |
6 | , | ||
0 | |||
) |