#include <SystemTimeKeeper.h>
Classes | |
struct | ModuleInPathTiming |
struct | ModuleTiming |
struct | PathTiming |
Private Member Functions | |
bool | checkBounds (unsigned int id) const |
PathTiming & | pathTiming (StreamContext const &, PathContext const &) |
Private Attributes | |
unsigned int | m_endPathOffset |
unsigned int | m_minModuleID |
std::vector< const ModuleDescription * > | m_modules |
std::vector< std::vector< std::string > > | m_modulesOnPaths |
std::atomic< unsigned int > | m_numberOfEvents |
std::vector< std::string > | m_pathNames |
ProcessContext const * | m_processContext |
ChildrenCPUTimer | m_processingLoopChildrenTimer |
CPUTimer | m_processingLoopTimer |
std::vector< WallclockTimer > | m_streamEventTimer |
std::vector< std::vector< ModuleTiming > > | m_streamModuleTiming |
std::vector< std::vector< PathTiming > > | m_streamPathTiming |
Definition at line 47 of file SystemTimeKeeper.h.
SystemTimeKeeper::SystemTimeKeeper | ( | unsigned int | iNumStreams, |
std::vector< const ModuleDescription *> const & | iModules, | ||
service::TriggerNamesService const & | iNameService, | ||
ProcessContext const * | iProcessContext | ||
) |
Definition at line 47 of file SystemTimeKeeper.cc.
References filterCSVwithJSON::copy, edm::service::TriggerNamesService::getEndPathModules(), edm::service::TriggerNamesService::getEndPaths(), edm::service::TriggerNamesService::getTrigPathModules(), edm::service::TriggerNamesService::getTrigPaths(), mps_fire::i, m_endPathOffset, m_minModuleID, m_modules, m_modulesOnPaths, m_pathNames, m_streamModuleTiming, m_streamPathTiming, jetsAK4_CHS_cff::sort, and cms::cuda::stream.
|
delete |
|
inlineprivate |
Definition at line 132 of file SystemTimeKeeper.cc.
References m_minModuleID, and m_streamModuleTiming.
Referenced by pauseModuleEvent(), restartModuleEvent(), startModuleEvent(), and stopModuleEvent().
void SystemTimeKeeper::fillTriggerTimingReport | ( | TriggerTimingReport & | rep | ) | const |
Definition at line 249 of file SystemTimeKeeper.cc.
References edm::ChildrenCPUTimer::cpuTime(), edm::CPUTimer::cpuTime(), edm::fillPathSummary(), m_endPathOffset, m_minModuleID, m_modules, m_modulesOnPaths, m_numberOfEvents, m_pathNames, m_processingLoopChildrenTimer, m_processingLoopTimer, m_streamEventTimer, m_streamModuleTiming, m_streamPathTiming, mod(), gpuClustering::moduleId, castor_dqm_sourceclient_file_cfg::path, edm::CPUTimer::realTime(), cuy::rep, findQualityFiles::size, edm::sort_all(), cms::cuda::stream, edmLumisInFiles::summary, ecalMatacq_cfi::timing, and class-composition::visited.
|
delete |
|
private |
Definition at line 118 of file SystemTimeKeeper.cc.
References cms::cuda::assert(), edm::PathContext::isEndPath(), m_endPathOffset, m_streamPathTiming, hltrates_dqm_sourceclient-live_cfg::offset, edm::PathContext::pathID(), edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by pauseModuleEvent(), startPath(), stopModuleEvent(), and stopPath().
void SystemTimeKeeper::pauseModuleEvent | ( | StreamContext const & | iStream, |
ModuleCallingContext const & | iModule | ||
) |
Definition at line 185 of file SystemTimeKeeper.cc.
References checkBounds(), edm::ModuleDescription::id(), edm::ParentContext::kPlaceInPath, m_minModuleID, edm::SystemTimeKeeper::PathTiming::m_moduleTiming, m_streamModuleTiming, mod(), edm::ModuleCallingContext::moduleDescription(), pathTiming(), edm::ModuleCallingContext::placeInPathContext(), edm::StreamContext::streamID(), edm::ModuleCallingContext::type(), and edm::StreamID::value().
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::removeModuleIfExists | ( | ModuleDescription const & | module | ) |
Definition at line 109 of file SystemTimeKeeper.cc.
References newFWLiteAna::found, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, m_modules, and callgraph::module.
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::restartModuleEvent | ( | StreamContext const & | iStream, |
ModuleCallingContext const & | iModule | ||
) |
Definition at line 198 of file SystemTimeKeeper.cc.
References checkBounds(), edm::ModuleDescription::id(), m_minModuleID, m_streamModuleTiming, mod(), edm::ModuleCallingContext::moduleDescription(), edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::startEvent | ( | StreamID | iID | ) |
Definition at line 136 of file SystemTimeKeeper.cc.
References m_numberOfEvents, m_streamEventTimer, and edm::StreamID::value().
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::startModuleEvent | ( | StreamContext const & | iStream, |
ModuleCallingContext const & | iModule | ||
) |
Definition at line 165 of file SystemTimeKeeper.cc.
References checkBounds(), edm::ModuleDescription::id(), m_minModuleID, m_streamModuleTiming, mod(), edm::ModuleCallingContext::moduleDescription(), edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::startPath | ( | StreamContext const & | iStream, |
PathContext const & | iPath | ||
) |
Definition at line 145 of file SystemTimeKeeper.cc.
References m_processContext, pathTiming(), edm::StreamContext::processContext(), and ecalMatacq_cfi::timing.
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::startProcessingLoop | ( | ) |
Definition at line 205 of file SystemTimeKeeper.cc.
References m_processingLoopChildrenTimer, m_processingLoopTimer, edm::ChildrenCPUTimer::start(), and edm::CPUTimer::start().
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::stopEvent | ( | StreamContext const & | iContext | ) |
Definition at line 141 of file SystemTimeKeeper.cc.
References m_streamEventTimer, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::stopModuleEvent | ( | StreamContext const & | iStream, |
ModuleCallingContext const & | iModule | ||
) |
Definition at line 172 of file SystemTimeKeeper.cc.
References checkBounds(), edm::ModuleDescription::id(), edm::ParentContext::kPlaceInPath, m_minModuleID, edm::SystemTimeKeeper::PathTiming::m_moduleTiming, m_streamModuleTiming, mod(), edm::ModuleCallingContext::moduleDescription(), pathTiming(), edm::ModuleCallingContext::placeInPathContext(), edm::StreamContext::streamID(), edm::ModuleCallingContext::type(), and edm::StreamID::value().
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::stopPath | ( | StreamContext const & | iStream, |
PathContext const & | iPath, | ||
HLTPathStatus const & | iStatus | ||
) |
Definition at line 152 of file SystemTimeKeeper.cc.
References mps_fire::i, edm::HLTPathStatus::index(), m_processContext, pathTiming(), edm::StreamContext::processContext(), and ecalMatacq_cfi::timing.
Referenced by edm::Schedule::finishSetup().
void SystemTimeKeeper::stopProcessingLoop | ( | ) |
Definition at line 210 of file SystemTimeKeeper.cc.
References m_processingLoopChildrenTimer, m_processingLoopTimer, edm::ChildrenCPUTimer::stop(), and edm::CPUTimer::stop().
Referenced by edm::Schedule::finishSetup().
|
private |
Definition at line 114 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), pathTiming(), and SystemTimeKeeper().
|
private |
Definition at line 113 of file SystemTimeKeeper.h.
Referenced by checkBounds(), fillTriggerTimingReport(), pauseModuleEvent(), restartModuleEvent(), startModuleEvent(), stopModuleEvent(), and SystemTimeKeeper().
|
private |
Definition at line 105 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), removeModuleIfExists(), and SystemTimeKeeper().
|
private |
Definition at line 107 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), and SystemTimeKeeper().
|
private |
Definition at line 115 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), and startEvent().
|
private |
Definition at line 106 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), and SystemTimeKeeper().
|
private |
Definition at line 111 of file SystemTimeKeeper.h.
Referenced by startPath(), and stopPath().
|
private |
Definition at line 110 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), startProcessingLoop(), and stopProcessingLoop().
|
private |
Definition at line 109 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), startProcessingLoop(), and stopProcessingLoop().
|
private |
Definition at line 99 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), startEvent(), and stopEvent().
|
private |
Definition at line 103 of file SystemTimeKeeper.h.
Referenced by checkBounds(), fillTriggerTimingReport(), pauseModuleEvent(), restartModuleEvent(), startModuleEvent(), stopModuleEvent(), and SystemTimeKeeper().
|
private |
Definition at line 101 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), pathTiming(), and SystemTimeKeeper().