#include <FastTimerService.h>
Classes | |
struct | AtomicResources |
struct | GroupOfModules |
struct | Measurement |
struct | PlotRanges |
class | PlotsPerElement |
class | PlotsPerJob |
class | PlotsPerPath |
class | PlotsPerProcess |
struct | Resources |
struct | ResourcesPerJob |
struct | ResourcesPerModule |
struct | ResourcesPerPath |
struct | ResourcesPerProcess |
struct | ThreadGuard |
Public Member Functions | |
template<typename T > | |
json | encodeToJSON (std::string const &type, std::string const &label, unsigned int events, T const &data) const |
FastTimerService (const edm::ParameterSet &, edm::ActivityRegistry &) | |
template<typename T > | |
void | printEvent (T &out, ResourcesPerJob const &data) const |
template<typename T > | |
void | printEventHeader (T &out, std::string const &label) const |
template<typename T > | |
void | printEventLine (T &out, Resources const &data, std::string const &label) const |
template<typename T > | |
void | printEventLine (T &out, AtomicResources const &data, std::string const &label) const |
template<typename T > | |
void | printHeader (T &out, std::string const &label) const |
template<typename T > | |
void | printPathSummaryHeader (T &out, std::string const &label) const |
template<typename T > | |
void | printPathSummaryLine (T &out, Resources const &data, Resources const &total, uint64_t events, std::string const &label) const |
template<typename T > | |
void | printSummary (T &out, ResourcesPerJob const &data, std::string const &label) const |
template<typename T > | |
void | printSummaryHeader (T &out, std::string const &label, bool detailed) const |
template<typename T > | |
void | printSummaryLine (T &out, Resources const &data, uint64_t events, std::string const &label) const |
template<typename T > | |
void | printSummaryLine (T &out, AtomicResources const &data, uint64_t events, uint64_t active, std::string const &label) const |
template<typename T > | |
void | printSummaryLine (T &out, AtomicResources const &data, uint64_t events, std::string const &label) const |
template<typename T > | |
void | printSummaryLine (T &out, Resources const &data, uint64_t events, uint64_t active, std::string const &label) const |
template<typename T > | |
void | printTransition (T &out, AtomicResources const &data, std::string const &label) const |
~FastTimerService () override=default | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | fixForDQM (std::string &label) |
Definition at line 55 of file FastTimerService.h.
FastTimerService::FastTimerService | ( | const edm::ParameterSet & | config, |
edm::ActivityRegistry & | registry | ||
) |
Definition at line 776 of file FastTimerService.cc.
|
overridedefault |
|
private |
|
private |
Definition at line 1395 of file FastTimerService.cc.
References data, and callgraph::module.
json FastTimerService::encodeToJSON | ( | std::string const & | type, |
std::string const & | label, | ||
unsigned int | events, | ||
T const & | data | ||
) | const |
|
static |
Definition at line 1780 of file FastTimerService.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 949 of file FastTimerService.cc.
References HltBtagPostValidation_cff::c, label, and alignCSCRings::s.
Referenced by FastTimerService::PlotsPerPath::book(), and FastTimerService::PlotsPerJob::book().
|
private |
Definition at line 894 of file FastTimerService.cc.
References LogDebug.
|
private |
|
private |
|
private |
Definition at line 1438 of file FastTimerService.cc.
References RPCNoise_example::check.
|
finalprivate |
Definition at line 1768 of file FastTimerService.cc.
References guard_, FastTimerService::Measurement::measure(), overhead_, FastTimerService::ThreadGuard::register_thread(), and thread().
|
finalprivate |
Definition at line 1775 of file FastTimerService.cc.
|
private |
Definition at line 996 of file FastTimerService.cc.
References watchdog::group, mps_fire::i, label, SummaryClient_cfi::labels, LogMessageMonitor_cff::modules, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
|
private |
Definition at line 1116 of file FastTimerService.cc.
References MillePedeFileConverter_cfg::out, and SiStripPI::printSummary().
|
private |
Definition at line 1706 of file FastTimerService.cc.
References gpuPixelDoublets::cc, edm::ParentContext::kPlaceInPath, and cms::cuda::stream.
|
private |
Definition at line 1447 of file FastTimerService.cc.
References data, edm::StreamContext::eventID(), watchdog::group, mps_fire::i, l1ctLayer2EG_cff::id, dqmdumpme::last, edm::EventID::luminosityBlock(), MillePedeFileConverter_cfg::out, LaserDQM_cfg::process, edm::StreamContext::processContext(), edm::StreamContext::runIndex(), cms::cuda::stream, and edm::StreamContext::streamID().
|
private |
Definition at line 1614 of file FastTimerService.cc.
References edm::ModuleDescription::id(), l1ctLayer2EG_cff::id, edm::ModuleCallingContext::kPrefetching, callgraph::module, edm::ModuleCallingContext::state(), cms::cuda::stream, and edm::StreamContext::streamID().
|
private |
Definition at line 1052 of file FastTimerService.cc.
|
private |
Definition at line 945 of file FastTimerService.cc.
|
private |
Definition at line 1056 of file FastTimerService.cc.
References label, dqmdumpme::last, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), edm::GlobalContext::luminosityBlockIndex(), MillePedeFileConverter_cfg::out, and edm::LuminosityBlockID::run().
|
private |
Definition at line 1085 of file FastTimerService.cc.
References label, dqmdumpme::last, edm::GlobalContext::luminosityBlockID(), MillePedeFileConverter_cfg::out, SiStripPI::printSummary(), edm::LuminosityBlockID::run(), and edm::GlobalContext::runIndex().
|
private |
Definition at line 1576 of file FastTimerService.cc.
References edm::ModuleDescription::id(), l1ctLayer2EG_cff::id, callgraph::module, edm::ModuleCallingContext::moduleDescription(), cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1559 of file FastTimerService.cc.
References edm::ModuleDescription::id(), l1ctLayer2EG_cff::id, callgraph::module, edm::ModuleCallingContext::moduleDescription(), cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1595 of file FastTimerService.cc.
|
private |
Definition at line 1603 of file FastTimerService.cc.
|
private |
Definition at line 1647 of file FastTimerService.cc.
References edm::GlobalContext::luminosityBlockIndex().
|
private |
Definition at line 1629 of file FastTimerService.cc.
References edm::GlobalContext::runIndex().
|
private |
Definition at line 1656 of file FastTimerService.cc.
References edm::GlobalContext::luminosityBlockIndex().
|
private |
Definition at line 1638 of file FastTimerService.cc.
References edm::GlobalContext::runIndex().
|
private |
Definition at line 1683 of file FastTimerService.cc.
References edm::StreamContext::luminosityBlockIndex().
|
private |
Definition at line 1665 of file FastTimerService.cc.
References edm::StreamContext::runIndex().
|
private |
Definition at line 1692 of file FastTimerService.cc.
References edm::StreamContext::luminosityBlockIndex().
|
private |
Definition at line 1674 of file FastTimerService.cc.
References edm::StreamContext::runIndex().
|
private |
Definition at line 1529 of file FastTimerService.cc.
References data, mps_fire::i, l1ctLayer2EG_cff::id, edm::PathContext::isEndPath(), callgraph::module, castor_dqm_sourceclient_file_cfg::path, edm::PathContext::pathID(), edm::StreamContext::processContext(), mps_update::status, cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1509 of file FastTimerService.cc.
References edm::ModuleDescription::id(), l1ctLayer2EG_cff::id, callgraph::module, and cms::cuda::stream.
|
private |
Definition at line 1112 of file FastTimerService.cc.
|
private |
Definition at line 1108 of file FastTimerService.cc.
|
private |
Definition at line 1077 of file FastTimerService.cc.
|
private |
Definition at line 1035 of file FastTimerService.cc.
|
private |
Definition at line 1081 of file FastTimerService.cc.
|
private |
Definition at line 1039 of file FastTimerService.cc.
|
private |
Definition at line 958 of file FastTimerService.cc.
References mps_fire::i, and processor_model.
|
private |
Definition at line 991 of file FastTimerService.cc.
References visDQMUpload::context.
|
private |
Definition at line 1697 of file FastTimerService.cc.
References gpuPixelDoublets::cc, edm::ParentContext::kPlaceInPath, and cms::cuda::stream.
|
private |
Definition at line 1445 of file FastTimerService.cc.
|
private |
Definition at line 1607 of file FastTimerService.cc.
References edm::ModuleCallingContext::kPrefetching, edm::ModuleCallingContext::state(), cms::cuda::stream, and edm::StreamContext::streamID().
|
private |
Definition at line 1041 of file FastTimerService.cc.
References edm::GlobalContext::luminosityBlockIndex().
|
private |
Definition at line 907 of file FastTimerService.cc.
References edm::GlobalContext::runIndex(), and dqm::implementation::NavigatorBase::setCurrentFolder().
|
private |
Definition at line 1054 of file FastTimerService.cc.
|
private |
Definition at line 1083 of file FastTimerService.cc.
|
private |
Definition at line 1570 of file FastTimerService.cc.
References cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1553 of file FastTimerService.cc.
References cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1591 of file FastTimerService.cc.
|
private |
Definition at line 1599 of file FastTimerService.cc.
|
private |
Definition at line 1643 of file FastTimerService.cc.
|
private |
Definition at line 1625 of file FastTimerService.cc.
|
private |
Definition at line 1652 of file FastTimerService.cc.
|
private |
Definition at line 1634 of file FastTimerService.cc.
|
private |
Definition at line 1679 of file FastTimerService.cc.
|
private |
Definition at line 1661 of file FastTimerService.cc.
|
private |
Definition at line 1688 of file FastTimerService.cc.
|
private |
Definition at line 1670 of file FastTimerService.cc.
|
private |
Definition at line 1519 of file FastTimerService.cc.
References data, l1ctLayer2EG_cff::id, edm::PathContext::isEndPath(), edm::PathContext::pathID(), edm::StreamContext::processContext(), cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 987 of file FastTimerService.cc.
References callgraph::module.
|
private |
Definition at line 1495 of file FastTimerService.cc.
References cms::cuda::stream.
|
private |
Definition at line 1110 of file FastTimerService.cc.
|
private |
Definition at line 1106 of file FastTimerService.cc.
|
private |
Definition at line 1075 of file FastTimerService.cc.
|
private |
Definition at line 947 of file FastTimerService.cc.
|
private |
Definition at line 1079 of file FastTimerService.cc.
|
private |
Definition at line 1037 of file FastTimerService.cc.
|
private |
void FastTimerService::printEvent | ( | T & | out, |
ResourcesPerJob const & | data | ||
) | const |
Definition at line 1169 of file FastTimerService.cc.
References data, watchdog::group, mps_fire::i, visualization-live-secondInstance_cfg::m, callgraph::module, Skims_PA_cff::name, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, castor_dqm_sourceclient_file_cfg::path, ValidateTausOnZEEFastSim_cff::proc, and source.
|
private |
void FastTimerService::printEventHeader | ( | T & | out, |
std::string const & | label | ||
) | const |
Definition at line 1143 of file FastTimerService.cc.
References label, and MillePedeFileConverter_cfg::out.
|
private |
|
private |
void FastTimerService::printEventLine | ( | T & | out, |
Resources const & | data, | ||
std::string const & | label | ||
) | const |
Definition at line 1149 of file FastTimerService.cc.
References data, label, and MillePedeFileConverter_cfg::out.
void FastTimerService::printEventLine | ( | T & | out, |
AtomicResources const & | data, | ||
std::string const & | label | ||
) | const |
Definition at line 1159 of file FastTimerService.cc.
References data, label, and MillePedeFileConverter_cfg::out.
|
private |
void FastTimerService::printHeader | ( | T & | out, |
std::string const & | label | ||
) | const |
Definition at line 1130 of file FastTimerService.cc.
References mps_fire::i, label, and MillePedeFileConverter_cfg::out.
|
private |
void FastTimerService::printPathSummaryHeader | ( | T & | out, |
std::string const & | label | ||
) | const |
Definition at line 1234 of file FastTimerService.cc.
References label, and MillePedeFileConverter_cfg::out.
|
private |
void FastTimerService::printPathSummaryLine | ( | T & | out, |
Resources const & | data, | ||
Resources const & | total, | ||
uint64_t | events, | ||
std::string const & | label | ||
) | const |
Definition at line 1306 of file FastTimerService.cc.
References data, events, label, MillePedeFileConverter_cfg::out, and dqmMemoryStats::total.
|
private |
void FastTimerService::printSummary | ( | T & | out, |
ResourcesPerJob const & | data, | ||
std::string const & | label | ||
) | const |
Definition at line 1322 of file FastTimerService.cc.
References data, watchdog::group, mps_fire::i, label, visualization-live-secondInstance_cfg::m, callgraph::module, Skims_PA_cff::name, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, castor_dqm_sourceclient_file_cfg::path, ValidateTausOnZEEFastSim_cff::proc, and source.
|
private |
void FastTimerService::printSummaryHeader | ( | T & | out, |
std::string const & | label, | ||
bool | detailed | ||
) | const |
Definition at line 1221 of file FastTimerService.cc.
References label, and MillePedeFileConverter_cfg::out.
|
private |
|
private |
|
private |
|
private |
void FastTimerService::printSummaryLine | ( | T & | out, |
Resources const & | data, | ||
uint64_t | events, | ||
std::string const & | label | ||
) | const |
Definition at line 1243 of file FastTimerService.cc.
References data, events, label, and MillePedeFileConverter_cfg::out.
void FastTimerService::printSummaryLine | ( | T & | out, |
AtomicResources const & | data, | ||
uint64_t | events, | ||
uint64_t | active, | ||
std::string const & | label | ||
) | const |
Definition at line 1256 of file FastTimerService.cc.
References data, events, label, and MillePedeFileConverter_cfg::out.
void FastTimerService::printSummaryLine | ( | T & | out, |
AtomicResources const & | data, | ||
uint64_t | events, | ||
std::string const & | label | ||
) | const |
Definition at line 1274 of file FastTimerService.cc.
References data, events, label, and MillePedeFileConverter_cfg::out.
void FastTimerService::printSummaryLine | ( | T & | out, |
Resources const & | data, | ||
uint64_t | events, | ||
uint64_t | active, | ||
std::string const & | label | ||
) | const |
Definition at line 1290 of file FastTimerService.cc.
References data, events, label, and MillePedeFileConverter_cfg::out.
|
private |
void FastTimerService::printTransition | ( | T & | out, |
AtomicResources const & | data, | ||
std::string const & | label | ||
) | const |
Definition at line 1376 of file FastTimerService.cc.
References data, label, and MillePedeFileConverter_cfg::out.
|
private |
Definition at line 1777 of file FastTimerService.cc.
References guard_, and FastTimerService::ThreadGuard::thread().
Referenced by on_scheduler_entry().
|
private |
Definition at line 899 of file FastTimerService.cc.
|
private |
Definition at line 1399 of file FastTimerService.cc.
References mps_check::array, data, corrVsCorr::filename, mps_fire::i, dqmiolumiharvest::j, callgraph::module, and MillePedeFileConverter_cfg::out.
|
private |
Definition at line 447 of file FastTimerService.h.
|
private |
Definition at line 502 of file FastTimerService.h.
|
private |
Definition at line 503 of file FastTimerService.h.
|
private |
Definition at line 504 of file FastTimerService.h.
|
private |
Definition at line 505 of file FastTimerService.h.
|
private |
Definition at line 527 of file FastTimerService.h.
|
private |
Definition at line 530 of file FastTimerService.h.
|
private |
Definition at line 529 of file FastTimerService.h.
|
private |
Definition at line 531 of file FastTimerService.h.
|
private |
Definition at line 528 of file FastTimerService.h.
|
private |
Definition at line 520 of file FastTimerService.h.
|
private |
Definition at line 523 of file FastTimerService.h.
|
private |
Definition at line 521 of file FastTimerService.h.
|
private |
Definition at line 524 of file FastTimerService.h.
|
private |
Definition at line 522 of file FastTimerService.h.
|
private |
Definition at line 525 of file FastTimerService.h.
|
private |
Definition at line 491 of file FastTimerService.h.
Referenced by on_scheduler_entry(), and thread().
|
private |
Definition at line 533 of file FastTimerService.h.
|
private |
Definition at line 534 of file FastTimerService.h.
|
private |
Definition at line 461 of file FastTimerService.h.
|
private |
Definition at line 517 of file FastTimerService.h.
|
private |
Definition at line 456 of file FastTimerService.h.
|
private |
Definition at line 458 of file FastTimerService.h.
Referenced by FastTimerService::PlotsPerJob::book(), FastTimerService::PlotsPerJob::fill(), and on_scheduler_entry().
|
private |
Definition at line 453 of file FastTimerService.h.
|
private |
Definition at line 508 of file FastTimerService.h.
|
private |
Definition at line 510 of file FastTimerService.h.
|
private |
Definition at line 509 of file FastTimerService.h.
|
private |
Definition at line 462 of file FastTimerService.h.
|
private |
Definition at line 457 of file FastTimerService.h.
|
private |
Definition at line 450 of file FastTimerService.h.
|
private |
Definition at line 494 of file FastTimerService.h.
|
private |
Definition at line 495 of file FastTimerService.h.
|
private |
Definition at line 496 of file FastTimerService.h.
|
private |
Definition at line 463 of file FastTimerService.h.
|
mutableprivate |
Definition at line 537 of file FastTimerService.h.
|
private |
Definition at line 516 of file FastTimerService.h.