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

IChronoStatSvc Class Reference

The IChronoStatSvc is the interface implmented by the ChronoStatService. More...

#include <GaudiKernel/IChronoStatSvc.h>

Inheritance diagram for IChronoStatSvc:

IInterface List of all members.

Public Types

typedef std::string ChronoTag
 useful typedefs. More...

typedef std::string StatTag
typedef double StatFlag
typedef double StatWeight
enum  ChronoStatus { UNKNOWN = 0, RUNNING, STOPPED }

Public Methods

virtual ~IChronoStatSvc ()
 virtual desctructor. More...

virtual StatusCode chronoStart ( const ChronoTag& ) = 0
 start chrono, tagged by its name.

virtual StatusCode chronoStop ( const ChronoTag& ) = 0
 stop chrono, tagged by its name.

virtual StatusCode chronoPrint ( const ChronoTag& ) = 0
 prints (using message service) info about chrono, tagged by its name.

virtual ChronoStatus chronoStatus ( const ChronoTag& ) = 0
 return the status of named chrono.

virtual StatusCode stat ( const StatTag&, const StatFlag&, const StatWeight& ) = 0
 add statistical information to the entity , tagged by its name.

virtual StatusCode statPrint ( const StatTag& ) = 0
 prints (using message service) info about statistical entity, tagged by its name.


Static Public Methods

const InterfaceIDinterfaceID ()
 Retrieve interface ID. More...


Detailed Description

The IChronoStatSvc is the interface implmented 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(s):
Vanya Belyaev (inspired by Mauro Villa's codes used in within ARTE framework )
Date:
December 1, 1999

Definition at line 26 of file IChronoStatSvc.h.


Member Typedef Documentation

typedef std::string IChronoStatSvc::ChronoTag
 

useful typedefs.

Definition at line 31 of file IChronoStatSvc.h.

typedef double IChronoStatSvc::StatFlag
 

Definition at line 33 of file IChronoStatSvc.h.

typedef std::string IChronoStatSvc::StatTag
 

Definition at line 32 of file IChronoStatSvc.h.

typedef double IChronoStatSvc::StatWeight
 

Definition at line 34 of file IChronoStatSvc.h.


Member Enumeration Documentation

enum IChronoStatSvc::ChronoStatus
 

Enumeration values:
UNKNOWN  
RUNNING  
STOPPED  

Definition at line 36 of file IChronoStatSvc.h.


Constructor & Destructor Documentation

IChronoStatSvc::~IChronoStatSvc ( ) [inline, virtual]
 

virtual desctructor.

Definition at line 44 of file IChronoStatSvc.h.


Member Function Documentation

StatusCode IChronoStatSvc::chronoPrint ( const ChronoTag & ) [pure virtual]
 

prints (using message service) info about chrono, tagged by its name.

StatusCode IChronoStatSvc::chronoStart ( const ChronoTag & ) [pure virtual]
 

start chrono, tagged by its name.

Referenced by Chrono::Chrono().

ChronoStatus IChronoStatSvc::chronoStatus ( const ChronoTag & ) [pure virtual]
 

return the status of named chrono.

StatusCode IChronoStatSvc::chronoStop ( const ChronoTag & ) [pure virtual]
 

stop chrono, tagged by its name.

Referenced by Chrono::~Chrono().

const InterfaceID & IChronoStatSvc::interfaceID ( ) [inline, static]
 

Retrieve interface ID.

Reimplemented from IInterface.

Definition at line 29 of file IChronoStatSvc.h.

StatusCode IChronoStatSvc::stat ( const StatTag &,
const StatFlag &,
const StatWeight & ) [pure virtual]
 

add statistical information to the entity , tagged by its name.

Referenced by Stat::Stat().

StatusCode IChronoStatSvc::statPrint ( const StatTag & ) [pure virtual]
 

prints (using message service) info about statistical entity, tagged by its name.

Referenced by Stat::print().


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