#include <SystemTimeKeeper.h>
Classes | |
struct | ModuleInPathTiming |
struct | ModuleTiming |
struct | PathTiming |
Public Member Functions | |
void | fillTriggerTimingReport (TriggerTimingReport &rep) |
void | pauseModuleEvent (StreamContext const &, ModuleCallingContext const &) |
void | restartModuleEvent (StreamContext const &, ModuleCallingContext const &) |
void | startEvent (StreamID) |
void | startModuleEvent (StreamContext const &, ModuleCallingContext const &) |
void | startPath (StreamContext const &, PathContext const &) |
void | stopEvent (StreamContext const &) |
void | stopModuleEvent (StreamContext const &, ModuleCallingContext const &) |
void | stopPath (StreamContext const &, PathContext const &, HLTPathStatus const &) |
SystemTimeKeeper (unsigned int iNumStreams, std::vector< const ModuleDescription * > const &iModules, service::TriggerNamesService const &iNameService) | |
Private Member Functions | |
const SystemTimeKeeper & | operator= (const SystemTimeKeeper &)=delete |
PathTiming & | pathTiming (StreamContext const &, PathContext const &) |
SystemTimeKeeper (const SystemTimeKeeper &)=delete | |
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 |
std::vector< CPUTimer > | m_streamEventTimer |
std::vector< std::vector < ModuleTiming > > | m_streamModuleTiming |
std::vector< std::vector < PathTiming > > | m_streamPathTiming |
Definition at line 44 of file SystemTimeKeeper.h.
SystemTimeKeeper::SystemTimeKeeper | ( | unsigned int | iNumStreams, |
std::vector< const ModuleDescription * > const & | iModules, | ||
service::TriggerNamesService const & | iNameService | ||
) |
Definition at line 40 of file SystemTimeKeeper.cc.
References filterCSVwithJSON::copy, edm::service::TriggerNamesService::getEndPathModules(), edm::service::TriggerNamesService::getEndPaths(), edm::service::TriggerNamesService::getTrigPathModules(), edm::service::TriggerNamesService::getTrigPaths(), i, edm::ModuleDescription::id(), cmsHarvester::index, m_endPathOffset, m_minModuleID, m_modules, m_modulesOnPaths, m_pathNames, m_streamModuleTiming, m_streamPathTiming, python.multivaluedict::sort(), and edmStreamStallGrapher::stream.
|
privatedelete |
void SystemTimeKeeper::fillTriggerTimingReport | ( | TriggerTimingReport & | rep | ) |
Definition at line 241 of file SystemTimeKeeper.cc.
References edm::EventTimingSummary::cpuTime, edm::TriggerTimingReport::endPathSummaries, edm::TriggerTimingReport::eventSummary, edm::fillPathSummary(), m_endPathOffset, m_minModuleID, m_modules, m_modulesOnPaths, m_numberOfEvents, m_pathNames, m_streamEventTimer, m_streamModuleTiming, m_streamPathTiming, mod(), cmsHarvester::path, edm::EventTimingSummary::realTime, findQualityFiles::size, edmStreamStallGrapher::stream, edmLumisInFiles::summary, edm::EventTimingSummary::totalEvents, edm::TriggerTimingReport::trigPathSummaries, and edm::TriggerTimingReport::workerSummaries.
|
privatedelete |
|
private |
Definition at line 112 of file SystemTimeKeeper.cc.
References edm::PathContext::isEndPath(), m_endPathOffset, m_streamPathTiming, evf::evtn::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 180 of file SystemTimeKeeper.cc.
References 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(), create_public_lumi_plots::times, edm::ModuleCallingContext::type(), and edm::StreamID::value().
Referenced by edm::endpathsAreActive_().
void SystemTimeKeeper::restartModuleEvent | ( | StreamContext const & | iStream, |
ModuleCallingContext const & | iModule | ||
) |
Definition at line 196 of file SystemTimeKeeper.cc.
References edm::ModuleDescription::id(), m_minModuleID, m_streamModuleTiming, mod(), edm::ModuleCallingContext::moduleDescription(), edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by edm::endpathsAreActive_().
void SystemTimeKeeper::startEvent | ( | StreamID | iID | ) |
Definition at line 125 of file SystemTimeKeeper.cc.
References m_numberOfEvents, m_streamEventTimer, and edm::StreamID::value().
Referenced by edm::endpathsAreActive_().
void SystemTimeKeeper::startModuleEvent | ( | StreamContext const & | iStream, |
ModuleCallingContext const & | iModule | ||
) |
Definition at line 158 of file SystemTimeKeeper.cc.
References edm::ModuleDescription::id(), m_minModuleID, m_streamModuleTiming, mod(), edm::ModuleCallingContext::moduleDescription(), edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by edm::endpathsAreActive_().
void SystemTimeKeeper::startPath | ( | StreamContext const & | iStream, |
PathContext const & | iPath | ||
) |
Definition at line 136 of file SystemTimeKeeper.cc.
References pathTiming().
Referenced by edm::endpathsAreActive_().
void SystemTimeKeeper::stopEvent | ( | StreamContext const & | iContext | ) |
Definition at line 131 of file SystemTimeKeeper.cc.
References m_streamEventTimer, edm::StreamContext::streamID(), and edm::StreamID::value().
Referenced by edm::endpathsAreActive_().
void SystemTimeKeeper::stopModuleEvent | ( | StreamContext const & | iStream, |
ModuleCallingContext const & | iModule | ||
) |
Definition at line 165 of file SystemTimeKeeper.cc.
References 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(), create_public_lumi_plots::times, edm::ModuleCallingContext::type(), and edm::StreamID::value().
Referenced by edm::endpathsAreActive_().
void SystemTimeKeeper::stopPath | ( | StreamContext const & | iStream, |
PathContext const & | iPath, | ||
HLTPathStatus const & | iStatus | ||
) |
Definition at line 143 of file SystemTimeKeeper.cc.
References i, edm::HLTPathStatus::index(), and pathTiming().
Referenced by edm::endpathsAreActive_().
|
private |
Definition at line 103 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), pathTiming(), and SystemTimeKeeper().
|
private |
Definition at line 102 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), pauseModuleEvent(), restartModuleEvent(), startModuleEvent(), stopModuleEvent(), and SystemTimeKeeper().
|
private |
Definition at line 98 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), and SystemTimeKeeper().
|
private |
Definition at line 100 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), and SystemTimeKeeper().
|
private |
Definition at line 104 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), and startEvent().
|
private |
Definition at line 99 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), and SystemTimeKeeper().
|
private |
Definition at line 92 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), startEvent(), and stopEvent().
|
private |
Definition at line 96 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), pauseModuleEvent(), restartModuleEvent(), startModuleEvent(), stopModuleEvent(), and SystemTimeKeeper().
|
private |
Definition at line 94 of file SystemTimeKeeper.h.
Referenced by fillTriggerTimingReport(), pathTiming(), and SystemTimeKeeper().