LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Classes | |
struct | Config |
struct | PerScheduleData |
Public Types | |
using | Parameters = ServiceTable< Config > |
Public Member Functions | |
TimeTracker (ServiceTable< Config > const &, ActivityRegistry &) | |
Private Types | |
template<unsigned SIZE> | |
using | name_array = cet::sqlite::name_array< SIZE > |
using | timeSource_t = cet::sqlite::Ntuple< uint32_t, uint32_t, uint32_t, string, double > |
using | timeEvent_t = cet::sqlite::Ntuple< uint32_t, uint32_t, uint32_t, double > |
using | timeModule_t = cet::sqlite::Ntuple< uint32_t, uint32_t, uint32_t, string, string, string, double > |
Private Member Functions | |
void | prePathProcessing (string const &) |
void | postSourceConstruction (ModuleDescription const &) |
void | postEndJob () |
void | preEventReading () |
void | postEventReading (Event const &) |
void | preEventProcessing (Event const &) |
void | postEventProcessing (Event const &) |
void | startTime (ModuleDescription const &) |
void | recordTime (ModuleDescription const &md, string const &suffix) |
void | logToDatabase_ (Statistics const &evt, std::vector< Statistics > const &modules) |
void | logToDestination_ (Statistics const &evt, std::vector< Statistics > const &modules) |
Private Attributes | |
std::vector< PerScheduleData > | data_ |
bool | printSummary_ |
cet::sqlite::Connection | db_ |
bool | overwriteContents_ |
string | sourceType_ {} |
name_array< 5u > | timeSourceTuple_ |
name_array< 4u > | timeEventTuple_ |
name_array< 7u > | timeModuleTuple_ |
timeSource_t | timeSourceTable_ |
timeEvent_t | timeEventTable_ |
timeModule_t | timeModuleTable_ |
Definition at line 102 of file TimeTracker_service.cc.
|
private |
Definition at line 151 of file TimeTracker_service.cc.
Definition at line 114 of file TimeTracker_service.cc.
|
private |
Definition at line 158 of file TimeTracker_service.cc.
|
private |
Definition at line 160 of file TimeTracker_service.cc.
|
private |
Definition at line 157 of file TimeTracker_service.cc.
|
explicit |
Definition at line 170 of file TimeTracker_service.cc.
References data_, db_, art::ServiceHandle< T, SCOPE >::get(), overwriteContents_, postEndJob(), postEventProcessing(), postEventReading(), postSourceConstruction(), preEventProcessing(), preEventReading(), prePathProcessing(), recordTime(), s, startTime(), timeEventTable_, timeEventTuple_, timeModuleTable_, timeModuleTuple_, timeSourceTable_, and timeSourceTuple_.
|
private |
|
private |
Definition at line 389 of file TimeTracker_service.cc.
References DECLARE_ART_SERVICE, DEFINE_ART_SERVICE, art::left(), art::LEGACY, max, and s.
Referenced by postEndJob().
|
private |
Definition at line 226 of file TimeTracker_service.cc.
References db_, logToDestination_(), printSummary_, s, sourceType_, timeEventTable_, timeModuleTable_, and timeSourceTable_.
Referenced by TimeTracker().
|
private |
Definition at line 350 of file TimeTracker_service.cc.
References d, data_, art::ScheduleID::first(), art::ScheduleID::id(), and timeEventTable_.
Referenced by TimeTracker().
|
private |
Definition at line 327 of file TimeTracker_service.cc.
References d, data_, art::ScheduleID::first(), art::ScheduleID::id(), art::Event::id(), sourceType_, and timeSourceTable_.
Referenced by TimeTracker().
|
private |
Definition at line 310 of file TimeTracker_service.cc.
References art::ModuleDescription::moduleName(), and sourceType_.
Referenced by TimeTracker().
|
private |
Definition at line 340 of file TimeTracker_service.cc.
References d, data_, e, art::ScheduleID::first(), and art::ScheduleID::id().
Referenced by TimeTracker().
|
private |
Definition at line 317 of file TimeTracker_service.cc.
References d, data_, art::ScheduleID::first(), art::ScheduleID::id(), and art::EventID::invalidEvent().
Referenced by TimeTracker().
|
private |
Definition at line 217 of file TimeTracker_service.cc.
References data_, art::ScheduleID::first(), and art::ScheduleID::id().
Referenced by TimeTracker().
|
private |
Definition at line 371 of file TimeTracker_service.cc.
References d, data_, art::ScheduleID::first(), art::ScheduleID::id(), art::ModuleDescription::moduleLabel(), art::ModuleDescription::moduleName(), and timeModuleTable_.
Referenced by TimeTracker().
|
private |
Definition at line 362 of file TimeTracker_service.cc.
References d, data_, art::ScheduleID::first(), and art::ScheduleID::id().
Referenced by TimeTracker().
|
private |
Definition at line 143 of file TimeTracker_service.cc.
Referenced by postEventProcessing(), postEventReading(), preEventProcessing(), preEventReading(), prePathProcessing(), recordTime(), startTime(), and TimeTracker().
|
private |
Definition at line 146 of file TimeTracker_service.cc.
Referenced by postEndJob(), and TimeTracker().
|
private |
Definition at line 147 of file TimeTracker_service.cc.
Referenced by TimeTracker().
|
private |
Definition at line 145 of file TimeTracker_service.cc.
Referenced by postEndJob().
|
private |
Definition at line 148 of file TimeTracker_service.cc.
Referenced by postEndJob(), postEventReading(), and postSourceConstruction().
|
private |
Definition at line 163 of file TimeTracker_service.cc.
Referenced by postEndJob(), postEventProcessing(), and TimeTracker().
|
private |
Definition at line 153 of file TimeTracker_service.cc.
Referenced by TimeTracker().
|
private |
Definition at line 164 of file TimeTracker_service.cc.
Referenced by postEndJob(), recordTime(), and TimeTracker().
|
private |
Definition at line 154 of file TimeTracker_service.cc.
Referenced by TimeTracker().
|
private |
Definition at line 162 of file TimeTracker_service.cc.
Referenced by postEndJob(), postEventReading(), and TimeTracker().
|
private |
Definition at line 152 of file TimeTracker_service.cc.
Referenced by TimeTracker().