The Gaudi Framework  v30r3 (a5ef0a68)
TimingAuditor Class Reference

Simple auditor which uses SequencerTimerTool for ALL algorithms, including the algorithm from main Gaudi "TopAlg" list and algorithms managed by Data-On-Demand Service. More...

Inheritance diagram for TimingAuditor:
Collaboration diagram for TimingAuditor:

Public Member Functions

void before (StandardEventType evt, INamedInterface *alg) override
 
void after (StandardEventType evt, INamedInterface *alg, const StatusCode &sc) override
 
void before (CustomEventTypeRef evt, const std::string &name) override
 
void after (CustomEventTypeRef evt, const std::string &name, const StatusCode &sc) override
 
void handle (const Incident &) override
 Inform that a new incident has occurred. More...
 
StatusCode initialize () override
 factory: More...
 
StatusCode finalize () override
 
 TimingAuditor ()=delete
 
 TimingAuditor (const TimingAuditor &)=delete
 
TimingAuditoroperator= (const TimingAuditor &)=delete
 
- Public Member Functions inherited from extends< Auditor, IIncidentListener >
void * i_cast (const InterfaceID &tid) const override
 Implementation of IInterface::i_cast. More...
 
StatusCode queryInterface (const InterfaceID &ti, void **pp) override
 Implementation of IInterface::queryInterface. More...
 
std::vector< std::stringgetInterfaceNames () const override
 Implementation of IInterface::getInterfaceNames. More...
 
- Public Member Functions inherited from Auditor
 Auditor (const std::string &name, ISvcLocator *svcloc)
 Constructor. More...
 
 Auditor (const Auditor &a)=delete
 
Auditoroperator= (const Auditor &rhs)=delete
 
StatusCode sysInitialize () override
 Initialization method invoked by the framework. More...
 
StatusCode sysFinalize () override
 Finalization method invoked by the framework. More...
 
void before (StandardEventType, INamedInterface *) override
 The following methods are meant to be implemented by the child class... More...
 
void before (StandardEventType, const std::string &) override
 
void before (CustomEventTypeRef, INamedInterface *) override
 
void before (CustomEventTypeRef, const std::string &) override
 
void after (StandardEventType, INamedInterface *, const StatusCode &) override
 
void after (StandardEventType, const std::string &, const StatusCode &) override
 
void after (CustomEventTypeRef, INamedInterface *, const StatusCode &) override
 
void after (CustomEventTypeRef, const std::string &, const StatusCode &) override
 
void beforeInitialize (INamedInterface *) override
 
void afterInitialize (INamedInterface *) override
 
void beforeReinitialize (INamedInterface *) override
 
void afterReinitialize (INamedInterface *) override
 
void beforeExecute (INamedInterface *) override
 
void afterExecute (INamedInterface *, const StatusCode &) override
 
void beforeFinalize (INamedInterface *) override
 
void afterFinalize (INamedInterface *) override
 
void beforeBeginRun (INamedInterface *) override
 
void afterBeginRun (INamedInterface *) override
 
void beforeEndRun (INamedInterface *) override
 
void afterEndRun (INamedInterface *) override
 
const std::stringname () const override
 
bool isEnabled () const override
 
SmartIF< ISvcLocator > & serviceLocator () const override
 The standard service locator. More...
 
template<class T >
StatusCode service (const std::string &name, T *&svc, bool createIf=false) const
 Access a service by name, creating it if it doesn't already exist. More...
 
template<class T = IService>
SmartIF< T > service (const std::string &name, bool createIf=false) const
 
StatusCode setProperties ()
 Set the auditor's properties. More...
 
- Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IAuditor, IProperty > > >
 PropertyHolder ()=default
 
Gaudi::Details::PropertyBasedeclareProperty (Gaudi::Details::PropertyBase &prop)
 Declare a property. More...
 
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, TYPE &value, const std::string &doc="none")
 Helper to wrap a regular data member and use it as a regular property. More...
 
Gaudi::Details::PropertyBasedeclareProperty (const std::string &name, Gaudi::Property< TYPE, VERIFIER, HANDLERS > &prop, const std::string &doc="none")
 Declare a PropertyBase instance setting name and documentation. More...
 
Gaudi::Details::PropertyBasedeclareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="")
 Declare a remote property. More...
 
StatusCode setProperty (const Gaudi::Details::PropertyBase &p) override
 set the property form another property More...
 
StatusCode setProperty (const std::string &s) override
 set the property from the formatted string More...
 
StatusCode setProperty (const std::string &n, const std::string &v) override
 set the property from name and the value More...
 
StatusCode setProperty (const std::string &name, const TYPE &value)
 set the property form the value More...
 
StatusCode getProperty (Gaudi::Details::PropertyBase *p) const override
 get the property More...
 
const Gaudi::Details::PropertyBasegetProperty (const std::string &name) const override
 get the property by name More...
 
StatusCode getProperty (const std::string &n, std::string &v) const override
 convert the property to the string More...
 
const std::vector< Gaudi::Details::PropertyBase * > & getProperties () const override
 get all properties More...
 
bool hasProperty (const std::string &name) const override
 Return true if we have a property with the given name. More...
 
 PropertyHolder (const PropertyHolder &)=delete
 
PropertyHolderoperator= (const PropertyHolder &)=delete
 
- Public Member Functions inherited from CommonMessaging< implements< IAuditor, IProperty > >
MSG::Level msgLevel () const
 get the cached level (originally extracted from the embedded MsgStream) More...
 
bool msgLevel (MSG::Level lvl) const
 get the output level from the embedded MsgStream More...
 
MSG::Level outputLevel () const
 Backward compatibility function for getting the output level. More...
 
- Public Member Functions inherited from CommonMessagingBase
virtual ~CommonMessagingBase ()=default
 Virtual destructor. More...
 
const SmartIF< IMessageSvc > & msgSvc () const
 The standard message service. More...
 
MsgStreammsgStream () const
 Return an uninitialized MsgStream. More...
 
MsgStreammsgStream (const MSG::Level level) const
 Predefined configurable message stream for the efficient printouts. More...
 
MsgStreamalways () const
 shortcut for the method msgStream(MSG::ALWAYS) More...
 
MsgStreamfatal () const
 shortcut for the method msgStream(MSG::FATAL) More...
 
MsgStreamerr () const
 shortcut for the method msgStream(MSG::ERROR) More...
 
MsgStreamerror () const
 shortcut for the method msgStream(MSG::ERROR) More...
 
MsgStreamwarning () const
 shortcut for the method msgStream(MSG::WARNING) More...
 
MsgStreaminfo () const
 shortcut for the method msgStream(MSG::INFO) More...
 
MsgStreamdebug () const
 shortcut for the method msgStream(MSG::DEBUG) More...
 
MsgStreamverbose () const
 shortcut for the method msgStream(MSG::VERBOSE) More...
 
MsgStreammsg () const
 shortcut for the method msgStream(MSG::INFO) More...
 

Private Member Functions

void i_beforeInitialize (INamedInterface *alg)
 
void i_afterInitialize (INamedInterface *alg)
 
void i_beforeFinalize (INamedInterface *alg)
 
void i_beforeExecute (INamedInterface *alg)
 
void i_afterExecute (INamedInterface *alg)
 

Private Attributes

SmartIF< IToolSvcm_toolSvc = nullptr
 tool service More...
 
SmartIF< IIncidentSvcm_incSvc = nullptr
 incident service More...
 
ISequencerTimerToolm_timer = nullptr
 the timer tool More...
 
SmartIF< INamedInterfacem_appMgr = nullptr
 ApplicationManager. More...
 
GaudiUtils::VectorMap< const INamedInterface *, int > m_map
 
int m_indent = 0
 indentation level More...
 
bool m_inEvent = false
 "In event" flag More...
 
GaudiUtils::HashMap< std::string, int > m_mapUser
 map used to record user timing events More...
 
bool m_histoSaved = false
 
Gaudi::Property< bool > m_goodForDOD {this, "OptimizedForDOD", false, "enable optimization for Data-On-Demand Service"}
 

Additional Inherited Members

- Public Types inherited from extends< Auditor, IIncidentListener >
using base_class = extends
 Typedef to this class. More...
 
using extend_interfaces_base = extend_interfaces< Interfaces... >
 Typedef to the base of this class. More...
 
- Public Types inherited from Auditor
using Factory = Gaudi::PluginService::Factory< IAuditor *(const std::string &, ISvcLocator *)>
 
- Public Types inherited from PropertyHolder< CommonMessaging< implements< IAuditor, IProperty > > >
using PropertyHolderImpl = PropertyHolder< CommonMessaging< implements< IAuditor, IProperty > > >
 Typedef used to refer to this class from derived classes, as in. More...
 
- Public Types inherited from CommonMessaging< implements< IAuditor, IProperty > >
using base_class = CommonMessaging
 
- Public Types inherited from extend_interfaces< Interfaces... >
using ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type
 take union of the ext_iids of all Interfaces... More...
 
- Protected Member Functions inherited from PropertyHolder< CommonMessaging< implements< IAuditor, IProperty > > >
Gaudi::Details::PropertyBaseproperty (const std::string &name) const
 
- Protected Member Functions inherited from CommonMessaging< implements< IAuditor, IProperty > >
MSG::Level setUpMessaging () const
 Set up local caches. More...
 
MSG::Level resetMessaging ()
 Reinitialize internal states. More...
 
void updateMsgStreamOutputLevel (int level)
 Update the output level of the cached MsgStream. More...
 

Detailed Description

Simple auditor which uses SequencerTimerTool for ALL algorithms, including the algorithm from main Gaudi "TopAlg" list and algorithms managed by Data-On-Demand Service.

Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
Date
2007-01-31

Definition at line 27 of file TimingAuditor.cpp.

Constructor & Destructor Documentation

TimingAuditor::TimingAuditor ( )
delete
TimingAuditor::TimingAuditor ( const TimingAuditor )
delete

Member Function Documentation

void TimingAuditor::after ( StandardEventType  evt,
INamedInterface alg,
const StatusCode sc 
)
override

Definition at line 175 of file TimingAuditor.cpp.

176 {
177  switch ( evt ) {
179  i_afterInitialize( alg );
180  break;
181  case IAuditor::Execute:
182  i_afterExecute( alg );
183  break;
184  default:
185  break;
186  }
187 }
void i_afterInitialize(INamedInterface *alg)
evt
Definition: IOTest.py:96
void i_afterExecute(INamedInterface *alg)
void TimingAuditor::after ( CustomEventTypeRef  evt,
const std::string name,
const StatusCode sc 
)
override

Definition at line 294 of file TimingAuditor.cpp.

295 {
296  // Ignore obvious mistakes
297  if ( name.empty() && evt.empty() ) {
298  return;
299  }
300 
301  // look for the user timer in the map
302  std::string nick = name + ":" + evt;
303  auto found = m_mapUser.find( nick );
304 
305  // We cannot do much if the timer is not available
306  if ( m_mapUser.end() == found ) {
307  warning() << "Trying to stop the measure of the timing for '" << nick
308  << "' but it was never started. Check the code" << endmsg;
309  return;
310  }
311  m_timer->stop( found->second );
312 }
GaudiUtils::HashMap< std::string, int > m_mapUser
map used to record user timing events
T empty(T...args)
STL class.
iterator end()
Definition: Map.h:134
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
iterator find(const key_type &key)
Definition: Map.h:151
ISequencerTimerTool * m_timer
the timer tool
virtual double stop(int index)=0
stop the counter, return the elapsed time
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
evt
Definition: IOTest.py:96
void TimingAuditor::before ( StandardEventType  evt,
INamedInterface alg 
)
override

Definition at line 158 of file TimingAuditor.cpp.

159 {
160  switch ( evt ) {
162  i_beforeInitialize( alg );
163  break;
164  case IAuditor::Execute:
165  i_beforeExecute( alg );
166  break;
167  case IAuditor::Finalize:
168  i_beforeFinalize( alg );
169  break;
170  default:
171  break;
172  }
173 }
void i_beforeInitialize(INamedInterface *alg)
void i_beforeExecute(INamedInterface *alg)
void i_beforeFinalize(INamedInterface *alg)
evt
Definition: IOTest.py:96
void TimingAuditor::before ( CustomEventTypeRef  evt,
const std::string name 
)
override

Definition at line 272 of file TimingAuditor.cpp.

273 {
274  // Ignore obvious mistakes
275  if ( name.empty() && evt.empty() ) {
276  return;
277  }
278 
279  // look for the user timer in the map
280  int timer = 0;
281  std::string nick = name + ":" + evt;
282  auto found = m_mapUser.find( nick );
283 
284  if ( m_mapUser.end() == found ) {
285  // add a new timer if not yet available
286  timer = m_timer->addTimer( nick );
287  m_mapUser[nick] = timer;
288  } else {
289  timer = found->second;
290  }
291  m_timer->start( timer );
292 }
GaudiUtils::HashMap< std::string, int > m_mapUser
map used to record user timing events
T empty(T...args)
virtual int addTimer(const std::string &name)=0
add a timer entry with the specified name
STL class.
iterator end()
Definition: Map.h:134
iterator find(const key_type &key)
Definition: Map.h:151
virtual void start(int index)=0
start the counter, i.e.
ISequencerTimerTool * m_timer
the timer tool
evt
Definition: IOTest.py:96
StatusCode TimingAuditor::finalize ( )
overridevirtual

Reimplemented from Auditor.

Definition at line 136 of file TimingAuditor.cpp.

137 {
138  if ( m_incSvc ) {
139  m_incSvc->removeListener( this, IncidentType::BeginEvent );
140  m_incSvc->removeListener( this, IncidentType::EndEvent );
141  m_incSvc.reset();
142  }
143  if ( m_toolSvc ) {
144  // the 2 following line are commented out: it is
145  // is a temporary hack which prevent a crash due to a problem in
146  // the reference counting
147  // if ( 0 != m_timer )
148  // { m_toolSvc -> releaseTool ( m_timer ) . ignore() ; m_timer = 0 ; }
149  m_toolSvc.reset();
150  }
151  m_appMgr.reset();
152  // clear the map
153  m_map.clear();
154  // finalize the base class
155  return Auditor::finalize();
156 }
virtual StatusCode finalize()
Definition: Auditor.cpp:200
GaudiUtils::VectorMap< const INamedInterface *, int > m_map
SmartIF< INamedInterface > m_appMgr
ApplicationManager.
SmartIF< IIncidentSvc > m_incSvc
incident service
void clear()
clear the container
Definition: VectorMap.h:488
SmartIF< IToolSvc > m_toolSvc
tool service
void reset(TYPE *ptr=nullptr)
Set the internal pointer to the passed one disposing of the old one.
Definition: SmartIF.h:92
virtual void removeListener(IIncidentListener *lis, const std::string &type="")=0
Remove listener.
void TimingAuditor::handle ( const Incident i)
override

Inform that a new incident has occurred.

Definition at line 314 of file TimingAuditor.cpp.

315 {
316  if ( IncidentType::BeginEvent == i.type() ) {
317  m_timer->start( m_map[m_appMgr.get()] );
318  ++m_indent;
319  m_inEvent = true;
320  } else if ( IncidentType::EndEvent == i.type() ) {
321  m_timer->stop( m_map[m_appMgr.get()] );
322  --m_indent;
323  m_inEvent = false;
324  }
325 }
const std::string & type() const
Access to the incident type.
Definition: Incident.h:41
bool m_inEvent
"In event" flag
GaudiUtils::VectorMap< const INamedInterface *, int > m_map
TYPE * get() const
Get interface pointer.
Definition: SmartIF.h:82
int m_indent
indentation level
SmartIF< INamedInterface > m_appMgr
ApplicationManager.
virtual void start(int index)=0
start the counter, i.e.
ISequencerTimerTool * m_timer
the timer tool
virtual double stop(int index)=0
stop the counter, return the elapsed time
void TimingAuditor::i_afterExecute ( INamedInterface alg)
private

Definition at line 259 of file TimingAuditor.cpp.

260 {
261  if ( !alg ) {
262  return;
263  }
264  auto found = m_map.find( alg );
265  if ( m_map.end() == found ) {
266  return;
267  }
268  m_timer->stop( found->second );
269  --m_indent;
270 }
GaudiUtils::VectorMap< const INamedInterface *, int > m_map
iterator find(const key_type &key) const
find the element by key
Definition: VectorMap.h:449
int m_indent
indentation level
iterator end() const
"end" iterator for sequential access (const-only version!)
Definition: VectorMap.h:191
ISequencerTimerTool * m_timer
the timer tool
virtual double stop(int index)=0
stop the counter, return the elapsed time
void TimingAuditor::i_afterInitialize ( INamedInterface alg)
private

Definition at line 226 of file TimingAuditor.cpp.

227 {
228  if ( m_goodForDOD || !alg ) {
229  return;
230  }
231  --m_indent;
232 }
int m_indent
indentation level
Gaudi::Property< bool > m_goodForDOD
void TimingAuditor::i_beforeExecute ( INamedInterface alg)
private

Definition at line 234 of file TimingAuditor.cpp.

235 {
236  if ( !alg ) {
237  return;
238  }
239  ++m_indent;
240  auto found = m_map.find( alg );
241  if ( m_map.end() == found ) {
242  debug() << "Insert non-structural component '" << alg->name() << "' of type '"
243  << System::typeinfoName( typeid( *alg ) ) << "' at level " << m_indent << endmsg;
244  std::string nick = alg->name();
245  if ( 0 < m_indent ) {
246  nick = std::string( m_indent, ' ' ) + nick;
247  }
248  if ( !m_goodForDOD ) {
249  nick[0] = '*';
250  }
251  int timer = m_timer->addTimer( nick );
252  m_map.insert( alg, timer );
253  m_timer->start( timer );
254  return;
255  }
256  m_timer->start( found->second );
257 }
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
Definition: System.cpp:332
virtual int addTimer(const std::string &name)=0
add a timer entry with the specified name
GaudiUtils::VectorMap< const INamedInterface *, int > m_map
result_type insert(const key_type &key, const mapped_type &mapped)
insert the (key,value) pair into the container
Definition: VectorMap.h:312
STL class.
iterator find(const key_type &key) const
find the element by key
Definition: VectorMap.h:449
int m_indent
indentation level
iterator end() const
"end" iterator for sequential access (const-only version!)
Definition: VectorMap.h:191
virtual void start(int index)=0
start the counter, i.e.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
ISequencerTimerTool * m_timer
the timer tool
Gaudi::Property< bool > m_goodForDOD
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
virtual const std::string & name() const =0
Retrieve the name of the instance.
void TimingAuditor::i_beforeFinalize ( INamedInterface alg)
private

Definition at line 189 of file TimingAuditor.cpp.

190 {
191  if ( !m_histoSaved ) {
193  m_histoSaved = true;
194  }
195 }
virtual void saveHistograms()=0
prepares and saves the timing histograms
ISequencerTimerTool * m_timer
the timer tool
void TimingAuditor::i_beforeInitialize ( INamedInterface alg)
private

Definition at line 198 of file TimingAuditor.cpp.

199 {
200  if ( m_goodForDOD ) {
201  return;
202  }
203  //
204  if ( !alg ) {
205  return;
206  }
207  auto found = m_map.find( alg );
208  if ( m_map.end() != found ) {
209  return;
210  }
211  ++m_indent;
212  std::string nick = alg->name();
213  if ( 0 < m_indent ) {
214  nick = std::string( m_indent, ' ' ) + nick;
215  }
216  if ( m_inEvent ) {
217  nick[0] = '*';
218  debug() << "Insert non-structural component '" << alg->name() << "' of type '"
219  << System::typeinfoName( typeid( *alg ) ) << "' at level " << m_indent << endmsg;
220  }
221  int timer = m_timer->addTimer( nick );
222  m_map.insert( alg, timer );
223  m_timer->start( timer );
224 }
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
Definition: System.cpp:332
virtual int addTimer(const std::string &name)=0
add a timer entry with the specified name
bool m_inEvent
"In event" flag
GaudiUtils::VectorMap< const INamedInterface *, int > m_map
result_type insert(const key_type &key, const mapped_type &mapped)
insert the (key,value) pair into the container
Definition: VectorMap.h:312
STL class.
iterator find(const key_type &key) const
find the element by key
Definition: VectorMap.h:449
int m_indent
indentation level
iterator end() const
"end" iterator for sequential access (const-only version!)
Definition: VectorMap.h:191
virtual void start(int index)=0
start the counter, i.e.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
ISequencerTimerTool * m_timer
the timer tool
Gaudi::Property< bool > m_goodForDOD
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
virtual const std::string & name() const =0
Retrieve the name of the instance.
StatusCode TimingAuditor::initialize ( )
overridevirtual

factory:

Reimplemented from Auditor.

Definition at line 89 of file TimingAuditor.cpp.

90 {
92  if ( sc.isFailure() ) {
93  return sc;
94  } // RETURN
95 
96  // get tool service
97  if ( !m_toolSvc ) {
98  m_toolSvc = Auditor::service( "ToolSvc" );
99  if ( !m_toolSvc ) {
100  error() << "Could not retrieve 'ToolSvc' " << endmsg;
101  return StatusCode::FAILURE; // RETURN
102  }
103  if ( !m_timer ) {
104  sc = m_toolSvc->retrieveTool( "SequencerTimerTool/TIMER", m_timer, this, true );
105  if ( sc.isFailure() ) {
106  error() << "Could not retrieve ISequencerTimerTool" << endmsg;
107  return sc;
108  }
109  }
110  }
111  // get incident service
112  if ( !m_incSvc ) {
113  m_incSvc = Auditor::service( "IncidentSvc" );
114  if ( !m_incSvc ) {
115  error() << "Could not retrieve 'IncidentSvc'" << endmsg;
116  return StatusCode::FAILURE;
117  }
118  m_incSvc->addListener( this, IncidentType::BeginEvent );
119  m_incSvc->addListener( this, IncidentType::EndEvent );
120  }
121  // get the application manager
122  if ( !m_appMgr ) {
123  m_appMgr = Auditor::service( "ApplicationMgr" );
124  if ( !m_appMgr ) {
125  error() << "Could not retrieve 'ApplicationMgr'" << endmsg;
126  return sc;
127  }
128  if ( m_map.end() == m_map.find( m_appMgr.get() ) ) {
129  m_map.insert( m_appMgr.get(), m_timer->addTimer( "EVENT LOOP" ) );
130  }
131  }
132  //
133  return StatusCode::SUCCESS;
134 }
constexpr static const auto FAILURE
Definition: StatusCode.h:88
StatusCode service(const std::string &name, T *&svc, bool createIf=false) const
Access a service by name, creating it if it doesn&#39;t already exist.
Definition: Auditor.h:107
virtual int addTimer(const std::string &name)=0
add a timer entry with the specified name
GaudiUtils::VectorMap< const INamedInterface *, int > m_map
result_type insert(const key_type &key, const mapped_type &mapped)
insert the (key,value) pair into the container
Definition: VectorMap.h:312
bool isFailure() const
Definition: StatusCode.h:139
StatusCode retrieveTool(const std::string &type, T *&tool, const IInterface *parent=nullptr, bool createIf=true)
Retrieve specified tool sub-type with tool dependent part of the name automatically assigned...
Definition: IToolSvc.h:139
iterator find(const key_type &key) const
find the element by key
Definition: VectorMap.h:449
TYPE * get() const
Get interface pointer.
Definition: SmartIF.h:82
iterator end() const
"end" iterator for sequential access (const-only version!)
Definition: VectorMap.h:191
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
SmartIF< INamedInterface > m_appMgr
ApplicationManager.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
SmartIF< IIncidentSvc > m_incSvc
incident service
constexpr static const auto SUCCESS
Definition: StatusCode.h:87
virtual void addListener(IIncidentListener *lis, const std::string &type="", long priority=0, bool rethrow=false, bool singleShot=false)=0
Add listener.
SmartIF< IToolSvc > m_toolSvc
tool service
ISequencerTimerTool * m_timer
the timer tool
virtual StatusCode initialize()
Definition: Auditor.cpp:70
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
TimingAuditor& TimingAuditor::operator= ( const TimingAuditor )
delete

Member Data Documentation

SmartIF<INamedInterface> TimingAuditor::m_appMgr = nullptr
private

ApplicationManager.

Definition at line 69 of file TimingAuditor.cpp.

Gaudi::Property<bool> TimingAuditor::m_goodForDOD {this, "OptimizedForDOD", false, "enable optimization for Data-On-Demand Service"}
private

Definition at line 82 of file TimingAuditor.cpp.

bool TimingAuditor::m_histoSaved = false
private

Definition at line 80 of file TimingAuditor.cpp.

SmartIF<IIncidentSvc> TimingAuditor::m_incSvc = nullptr
private

incident service

Definition at line 65 of file TimingAuditor.cpp.

int TimingAuditor::m_indent = 0
private

indentation level

Definition at line 73 of file TimingAuditor.cpp.

bool TimingAuditor::m_inEvent = false
private

"In event" flag

Definition at line 75 of file TimingAuditor.cpp.

GaudiUtils::VectorMap<const INamedInterface*, int> TimingAuditor::m_map
private

Definition at line 71 of file TimingAuditor.cpp.

GaudiUtils::HashMap<std::string, int> TimingAuditor::m_mapUser
private

map used to record user timing events

Definition at line 77 of file TimingAuditor.cpp.

ISequencerTimerTool* TimingAuditor::m_timer = nullptr
private

the timer tool

Definition at line 67 of file TimingAuditor.cpp.

SmartIF<IToolSvc> TimingAuditor::m_toolSvc = nullptr
private

tool service

Definition at line 63 of file TimingAuditor.cpp.


The documentation for this class was generated from the following file: