![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef PERFMONKERNEL_IPERFMONSVC_H
12 #define PERFMONKERNEL_IPERFMONSVC_H 1
25 #include "GaudiKernel/IMonitorSvc.h"
26 #include "GaudiKernel/INamedInterface.h"
27 #include "GaudiKernel/StatEntity.h"
33 namespace AIDA {
class IBaseHistogram; }
35 namespace PerfMon {
struct IoContainer; }
61 std::vector<std::string>
67 std::vector<std::string>
72 std::vector<std::string>
87 const std::string&
compName)
const = 0;
113 const std::string&
desc,
114 const IInterface* owner ) = 0;
117 const std::string&
desc,
118 const IInterface* owner ) = 0;
121 const std::string&
desc,
122 const IInterface* owner ) = 0;
125 const std::string&
desc,
126 const IInterface* owner ) = 0;
128 const std::string&
var,
129 const std::string&
desc,
130 const IInterface* owner ) = 0;
132 const std::pair<double,double>&
var,
133 const std::string&
desc,
134 const IInterface* owner ) = 0;
136 const AIDA::IBaseHistogram*
var,
137 const std::string&
desc,
138 const IInterface* owner ) = 0;
140 const std::string&
format,
142 const std::string&
desc,
143 const IInterface* owner ) = 0;
145 const StatEntity&
var,
146 const std::string&
desc,
147 const IInterface* owner) = 0;
154 const IInterface* owner ) = 0;
164 virtual std::set<std::string>*
getInfos(
const IInterface* owner = 0) = 0;
169 virtual void startAud(
const std::string& stepName,
170 const std::string&
compName =
"PerfMonSlice" ) = 0;
175 virtual void stopAud(
const std::string& stepName,
176 const std::string&
compName =
"PerfMonSlice" ) = 0;
202 static const InterfaceID IID_IPerfMonSvc(
"IPerfMonSvc", 1, 0);
203 return IID_IPerfMonSvc;
206 #endif //> PERFMONKERNEL_IPERFMONSVC_H
virtual void declareInfo(const std::string &name, const bool &var, const std::string &desc, const IInterface *owner)=0
Declare monitoring information.
void setMonState(PerfMon::State::Type step)
set the current state of the Gaudi's FSM
virtual ~IPerfMonSvc()
Destructor:
const PerfMon::Component * component(PerfMon::State::Type step, const std::string &compName) const
retrieve the monitored value for the component compName and for the step step (ini,...
virtual const PerfMon::IoContainer * io_component(const std::string &compName) const =0
retrieve the I/O monitored value for the I/O component compName
virtual void undeclareInfo(const std::string &name, const IInterface *owner)=0
Undeclare monitoring information.
PerfMon::State::Type m_monState
current state of the Gaudi's FSM
virtual void startAud(const std::string &stepName, const std::string &compName="PerfMonSlice")=0
Start collecting monitoring data for a given component, for a given step of the Gaudi FSM.
virtual void domain(const std::string &compName, std::string &domain) const =0
retrieve the domain name for a given component compName
a simple malloc wrapper that keeps track of the amount of memory allocated on the heap.
virtual void declareInfo(const std::string &name, const int &var, const std::string &desc, const IInterface *owner)=0
virtual void declareInfo(const std::string &name, const std::string &var, const std::string &desc, const IInterface *owner)=0
virtual void declareInfo(const std::string &name, const AIDA::IBaseHistogram *var, const std::string &desc, const IInterface *owner)=0
virtual const PerfMon::Component * component(const std::string &stepName, const std::string &compName) const =0
retrieve the monitored value for the component compName and for the step stepName (ini,...
const std::string & monStateName() const
Retrieve the name of the current state of Gaudi's FSM.
virtual void declareInfo(const std::string &name, const StatEntity &var, const std::string &desc, const IInterface *owner)=0
virtual void declareInfo(const std::string &name, const long &var, const std::string &desc, const IInterface *owner)=0
virtual std::vector< std::string > io_components() const =0
return the list of io-components' names
virtual void undeclareAll(const IInterface *owner)=0
Undeclare monitoring information.
virtual void declareInfo(const std::string &name, const std::pair< double, double > &var, const std::string &desc, const IInterface *owner)=0
virtual void declareInfo(const std::string &name, const double &var, const std::string &desc, const IInterface *owner)=0
virtual void stopAud(const std::string &stepName, const std::string &compName="PerfMonSlice")=0
Stop collecting monitoring data for a given component, for a given step of the Gaudi FSM.
virtual std::set< std::string > * getInfos(const IInterface *owner=0)=0
Get the names for all declared monitoring informations for a given owener.
virtual std::vector< std::string > components(const std::string &stepName) const =0
return the list of components' names for a given step
PerfMon::State::Type monState() const
Retrieve the current state of Gaudi's finite state machine.
std::vector< std::string > components(PerfMon::State::Type step) const
return the list of components' names for a given step
static const InterfaceID & interfaceID()
virtual void declareInfo(const std::string &name, const std::string &format, const void *var, int size, const std::string &desc, const IInterface *owner)=0