#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) |
Definition at line 55 of file FastTimerService.h.
FastTimerService::FastTimerService | ( | const edm::ParameterSet & | config, |
edm::ActivityRegistry & | registry | ||
) |
Definition at line 772 of file FastTimerService.cc.
|
overridedefault |
|
private |
|
private |
Definition at line 1386 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 1771 of file FastTimerService.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 890 of file FastTimerService.cc.
References LogDebug.
|
private |
|
private |
|
private |
Definition at line 1429 of file FastTimerService.cc.
References RPCNoise_example::check.
|
finalprivate |
Definition at line 1759 of file FastTimerService.cc.
References guard_, FastTimerService::Measurement::measure(), overhead_, FastTimerService::ThreadGuard::register_thread(), and thread().
|
finalprivate |
Definition at line 1766 of file FastTimerService.cc.
|
private |
Definition at line 987 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 1107 of file FastTimerService.cc.
References MillePedeFileConverter_cfg::out, and SiStripPI::printSummary().
|
private |
Definition at line 1697 of file FastTimerService.cc.
References edm::ESModuleCallingContext::getTopModuleCallingContext(), edm::ParentContext::kPlaceInPath, edm::ModuleCallingContext::parent(), edm::PlaceInPathContext::pathContext(), edm::ParentContext::placeInPathContext(), cms::cuda::stream, edm::PathContext::streamContext(), edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1438 of file FastTimerService.cc.
References data, edm::StreamContext::eventID(), watchdog::group, mps_fire::i, triggerObjects_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 1605 of file FastTimerService.cc.
References triggerObjects_cff::id, edm::ModuleDescription::id(), edm::ModuleCallingContext::kPrefetching, callgraph::module, edm::ModuleCallingContext::state(), cms::cuda::stream, and edm::StreamContext::streamID().
|
private |
Definition at line 1043 of file FastTimerService.cc.
|
private |
Definition at line 941 of file FastTimerService.cc.
|
private |
Definition at line 1047 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 1076 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 1567 of file FastTimerService.cc.
References triggerObjects_cff::id, edm::ModuleDescription::id(), callgraph::module, edm::ModuleCallingContext::moduleDescription(), cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1550 of file FastTimerService.cc.
References triggerObjects_cff::id, edm::ModuleDescription::id(), callgraph::module, edm::ModuleCallingContext::moduleDescription(), cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1586 of file FastTimerService.cc.
|
private |
Definition at line 1594 of file FastTimerService.cc.
|
private |
Definition at line 1638 of file FastTimerService.cc.
References edm::GlobalContext::luminosityBlockIndex().
|
private |
Definition at line 1620 of file FastTimerService.cc.
References edm::GlobalContext::runIndex().
|
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 1674 of file FastTimerService.cc.
References edm::StreamContext::luminosityBlockIndex().
|
private |
Definition at line 1656 of file FastTimerService.cc.
References edm::StreamContext::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 1520 of file FastTimerService.cc.
References data, mps_fire::i, triggerObjects_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 1500 of file FastTimerService.cc.
References triggerObjects_cff::id, edm::ModuleDescription::id(), callgraph::module, and cms::cuda::stream.
|
private |
Definition at line 1103 of file FastTimerService.cc.
|
private |
Definition at line 1099 of file FastTimerService.cc.
|
private |
Definition at line 1068 of file FastTimerService.cc.
|
private |
Definition at line 1026 of file FastTimerService.cc.
|
private |
Definition at line 1072 of file FastTimerService.cc.
|
private |
Definition at line 1030 of file FastTimerService.cc.
|
private |
Definition at line 945 of file FastTimerService.cc.
References c, mps_fire::i, processor_model, and alignCSCRings::s.
|
private |
Definition at line 982 of file FastTimerService.cc.
References visDQMUpload::context.
|
private |
Definition at line 1688 of file FastTimerService.cc.
References edm::ESModuleCallingContext::getTopModuleCallingContext(), edm::ParentContext::kPlaceInPath, edm::ModuleCallingContext::parent(), edm::PlaceInPathContext::pathContext(), edm::ParentContext::placeInPathContext(), cms::cuda::stream, edm::PathContext::streamContext(), edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1436 of file FastTimerService.cc.
|
private |
Definition at line 1598 of file FastTimerService.cc.
References edm::ModuleCallingContext::kPrefetching, edm::ModuleCallingContext::state(), cms::cuda::stream, and edm::StreamContext::streamID().
|
private |
Definition at line 1032 of file FastTimerService.cc.
References edm::GlobalContext::luminosityBlockIndex().
|
private |
Definition at line 903 of file FastTimerService.cc.
References edm::GlobalContext::runIndex(), and dqm::implementation::NavigatorBase::setCurrentFolder().
|
private |
Definition at line 1045 of file FastTimerService.cc.
|
private |
Definition at line 1074 of file FastTimerService.cc.
|
private |
Definition at line 1561 of file FastTimerService.cc.
References cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1544 of file FastTimerService.cc.
References cms::cuda::stream, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 1582 of file FastTimerService.cc.
|
private |
Definition at line 1590 of file FastTimerService.cc.
|
private |
Definition at line 1634 of file FastTimerService.cc.
|
private |
Definition at line 1616 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 1670 of file FastTimerService.cc.
|
private |
Definition at line 1652 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 1510 of file FastTimerService.cc.
References data, triggerObjects_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 978 of file FastTimerService.cc.
References callgraph::module.
|
private |
Definition at line 1486 of file FastTimerService.cc.
References cms::cuda::stream.
|
private |
Definition at line 1101 of file FastTimerService.cc.
|
private |
Definition at line 1097 of file FastTimerService.cc.
|
private |
Definition at line 1066 of file FastTimerService.cc.
|
private |
Definition at line 943 of file FastTimerService.cc.
|
private |
Definition at line 1070 of file FastTimerService.cc.
|
private |
Definition at line 1028 of file FastTimerService.cc.
|
private |
void FastTimerService::printEvent | ( | T & | out, |
ResourcesPerJob const & | data | ||
) | const |
Definition at line 1160 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 1134 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 1140 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 1150 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 1121 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 1225 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 1297 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 1313 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 1212 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 1234 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 1247 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 1265 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 1281 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 1367 of file FastTimerService.cc.
References data, label, and MillePedeFileConverter_cfg::out.
|
private |
Definition at line 1768 of file FastTimerService.cc.
References guard_, and FastTimerService::ThreadGuard::thread().
Referenced by on_scheduler_entry().
|
private |
Definition at line 895 of file FastTimerService.cc.
|
private |
Definition at line 1390 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 446 of file FastTimerService.h.
|
private |
Definition at line 501 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 526 of file FastTimerService.h.
|
private |
Definition at line 529 of file FastTimerService.h.
|
private |
Definition at line 528 of file FastTimerService.h.
|
private |
Definition at line 530 of file FastTimerService.h.
|
private |
Definition at line 527 of file FastTimerService.h.
|
private |
Definition at line 519 of file FastTimerService.h.
|
private |
Definition at line 522 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 490 of file FastTimerService.h.
Referenced by on_scheduler_entry(), and thread().
|
private |
Definition at line 532 of file FastTimerService.h.
|
private |
Definition at line 533 of file FastTimerService.h.
|
private |
Definition at line 460 of file FastTimerService.h.
|
private |
Definition at line 516 of file FastTimerService.h.
|
private |
Definition at line 455 of file FastTimerService.h.
|
private |
Definition at line 457 of file FastTimerService.h.
Referenced by FastTimerService::PlotsPerJob::book(), FastTimerService::PlotsPerJob::fill(), and on_scheduler_entry().
|
private |
Definition at line 452 of file FastTimerService.h.
|
private |
Definition at line 507 of file FastTimerService.h.
|
private |
Definition at line 509 of file FastTimerService.h.
|
private |
Definition at line 508 of file FastTimerService.h.
|
private |
Definition at line 461 of file FastTimerService.h.
|
private |
Definition at line 456 of file FastTimerService.h.
|
private |
Definition at line 449 of file FastTimerService.h.
|
private |
Definition at line 493 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 462 of file FastTimerService.h.
|
mutableprivate |
Definition at line 536 of file FastTimerService.h.
|
private |
Definition at line 515 of file FastTimerService.h.