|
Gaudi Framework, version v22r1 |
| Home | Generated: Mon Feb 28 2011 |
Monitors the cpu time usage of each algorithm. More...
#include <ChronoAuditor.h>


Monitors the cpu time usage of each algorithm.
Definition at line 13 of file ChronoAuditor.h.
| ChronoAuditor::ChronoAuditor | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator | ||
| ) |
Definition at line 18 of file ChronoAuditor.cpp.
: Auditor(name, pSvcLocator) { service( "ChronoStatSvc", m_chronoSvc, true).ignore(); declareProperty("CustomEventTypes",m_types); }
| ChronoAuditor::~ChronoAuditor | ( | ) | [virtual] |
Definition at line 24 of file ChronoAuditor.cpp.
{
m_chronoSvc->release();
}
| void ChronoAuditor::after | ( | CustomEventTypeRef | evt, |
| const std::string & | caller, | ||
| const StatusCode & | |||
| ) | [virtual] |
Reimplemented from Auditor.
Definition at line 89 of file ChronoAuditor.cpp.
| void ChronoAuditor::afterBeginRun | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 52 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStop( alg->name() + ":beginRun" ) ;
}
| void ChronoAuditor::afterEndRun | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 58 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStop( alg->name() + ":endRun" ) ;
}
| void ChronoAuditor::afterExecute | ( | INamedInterface * | alg, |
| const StatusCode & | |||
| ) | [virtual] |
Reimplemented from Auditor.
Definition at line 45 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStop( alg->name() + ":execute" ) ;
}
| void ChronoAuditor::afterFinalize | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 66 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStop( alg->name() + ":finalize" ) ;
}
| void ChronoAuditor::afterInitialize | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 31 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStop( alg->name() + ":initialize" ) ;
}
| void ChronoAuditor::afterReinitialize | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 38 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStop( alg->name() + ":reinitialize" ) ;
}
| void ChronoAuditor::before | ( | CustomEventTypeRef | evt, |
| const std::string & | caller | ||
| ) | [virtual] |
Reimplemented from Auditor.
Definition at line 71 of file ChronoAuditor.cpp.
| void ChronoAuditor::beforeBeginRun | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 49 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStart( alg->name() + ":beginRun" ) ;
}
| void ChronoAuditor::beforeEndRun | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 55 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStart( alg->name() + ":endRun" ) ;
}
| void ChronoAuditor::beforeExecute | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 42 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStart( alg->name() + ":execute" ) ;
}
| void ChronoAuditor::beforeFinalize | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 63 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStart( alg->name() + ":finalize" ) ;
}
| void ChronoAuditor::beforeInitialize | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 28 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStart( alg->name() + ":initialize" ) ;
}
| void ChronoAuditor::beforeReinitialize | ( | INamedInterface * | alg ) | [virtual] |
Reimplemented from Auditor.
Definition at line 35 of file ChronoAuditor.cpp.
{
chronoSvc( )->chronoStart( alg->name() + ":reinitialize" ) ;
}
| IChronoStatSvc* ChronoAuditor::chronoSvc | ( | ) | [inline] |
Definition at line 33 of file ChronoAuditor.h.
{ return m_chronoSvc; }
IChronoStatSvc* ChronoAuditor::m_chronoSvc [private] |
Definition at line 35 of file ChronoAuditor.h.
StringArrayProperty ChronoAuditor::m_types [private] |
Definition at line 36 of file ChronoAuditor.h.