|
Gaudi Framework, version v21r8 |
| Home | Generated: 17 Mar 2010 |
#include <ChronoAuditor.h>


Definition at line 13 of file ChronoAuditor.h.
| ChronoAuditor::ChronoAuditor | ( | const std::string & | name, | |
| ISvcLocator * | pSvcLocator | |||
| ) |
Definition at line 12 of file ChronoAuditor.cpp.
00013 : Auditor(name, pSvcLocator) { 00014 service( "ChronoStatSvc", m_chronoSvc, true).ignore(); 00015 declareProperty("CustomEventTypes",m_types); 00016 }
| ChronoAuditor::~ChronoAuditor | ( | ) | [virtual] |
| void ChronoAuditor::beforeInitialize | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 22 of file ChronoAuditor.cpp.
00022 { 00023 chronoSvc( )->chronoStart( alg->name() + ":initialize" ) ; 00024 }
| void ChronoAuditor::afterInitialize | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 25 of file ChronoAuditor.cpp.
00025 { 00026 chronoSvc( )->chronoStop( alg->name() + ":initialize" ) ; 00027 }
| void ChronoAuditor::beforeReinitialize | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 29 of file ChronoAuditor.cpp.
00029 { 00030 chronoSvc( )->chronoStart( alg->name() + ":reinitialize" ) ; 00031 }
| void ChronoAuditor::afterReinitialize | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 32 of file ChronoAuditor.cpp.
00032 { 00033 chronoSvc( )->chronoStop( alg->name() + ":reinitialize" ) ; 00034 }
| void ChronoAuditor::beforeExecute | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 36 of file ChronoAuditor.cpp.
00036 { 00037 chronoSvc( )->chronoStart( alg->name() + ":execute" ) ; 00038 }
| void ChronoAuditor::afterExecute | ( | INamedInterface * | alg, | |
| const StatusCode & | ||||
| ) | [virtual] |
Reimplemented from Auditor.
Definition at line 39 of file ChronoAuditor.cpp.
00039 { 00040 chronoSvc( )->chronoStop( alg->name() + ":execute" ) ; 00041 }
| void ChronoAuditor::beforeBeginRun | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 43 of file ChronoAuditor.cpp.
00043 { 00044 chronoSvc( )->chronoStart( alg->name() + ":beginRun" ) ; 00045 }
| void ChronoAuditor::afterBeginRun | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 46 of file ChronoAuditor.cpp.
00046 { 00047 chronoSvc( )->chronoStop( alg->name() + ":beginRun" ) ; 00048 }
| void ChronoAuditor::beforeEndRun | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 49 of file ChronoAuditor.cpp.
00049 { 00050 chronoSvc( )->chronoStart( alg->name() + ":endRun" ) ; 00051 }
| void ChronoAuditor::afterEndRun | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 52 of file ChronoAuditor.cpp.
00052 { 00053 chronoSvc( )->chronoStop( alg->name() + ":endRun" ) ; 00054 }
| void ChronoAuditor::beforeFinalize | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 57 of file ChronoAuditor.cpp.
00057 { 00058 chronoSvc( )->chronoStart( alg->name() + ":finalize" ) ; 00059 }
| void ChronoAuditor::afterFinalize | ( | INamedInterface * | alg | ) | [virtual] |
Reimplemented from Auditor.
Definition at line 60 of file ChronoAuditor.cpp.
00060 { 00061 chronoSvc( )->chronoStop( alg->name() + ":finalize" ) ; 00062 }
| void ChronoAuditor::before | ( | CustomEventTypeRef | evt, | |
| const std::string & | caller | |||
| ) | [virtual] |
Reimplemented from Auditor.
Definition at line 65 of file ChronoAuditor.cpp.
00065 { 00066 00067 if (m_types.value().size() != 0) { 00068 if ( (m_types.value())[0] == "none") { 00069 return; 00070 } 00071 00072 if ( find(m_types.value().begin(), m_types.value().end(), evt) == 00073 m_types.value().end() ) { 00074 return; 00075 } 00076 } 00077 00078 chronoSvc( )->chronoStart( caller + ":" + evt ) ; 00079 00080 }
| void ChronoAuditor::after | ( | CustomEventTypeRef | evt, | |
| const std::string & | caller, | |||
| const StatusCode & | ||||
| ) | [virtual] |
Reimplemented from Auditor.
Definition at line 83 of file ChronoAuditor.cpp.
00083 { 00084 00085 if (m_types.value().size() != 0) { 00086 if ( (m_types.value())[0] == "none") { 00087 return; 00088 } 00089 00090 if ( find(m_types.value().begin(), m_types.value().end(), evt) == 00091 m_types.value().end() ) { 00092 return; 00093 } 00094 } 00095 00096 chronoSvc( )->chronoStop( caller + ":" + evt ) ; 00097 00098 }
| IChronoStatSvc* ChronoAuditor::chronoSvc | ( | ) | [inline] |
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.