Public Member Functions | |
StallMonitor (ParameterSet const &, ActivityRegistry &) | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Types | |
using | ModuleID = decltype(std::declval< ModuleDescription >().id()) |
using | StreamID_value = decltype(std::declval< StreamID >().value()) |
Private Attributes | |
decltype(now()) | beginTime_ {} |
ThreadSafeOutputFileStream | file_ |
std::vector< std::string > | moduleLabels_ {} |
std::vector< StallStatistics > | moduleStats_ {} |
unsigned int | numStreams_ |
tbb::concurrent_unordered_map< std::pair< StreamID_value, ModuleID >, std::pair< decltype(beginTime_), bool > > | stallStart_ {} |
duration_t const | stallThreshold_ |
bool const | validFile_ |
Definition at line 193 of file StallMonitor.cc.
|
private |
Definition at line 228 of file StallMonitor.cc.
|
private |
Definition at line 227 of file StallMonitor.cc.
StallMonitor::StallMonitor | ( | ParameterSet const & | iPS, |
ActivityRegistry & | iRegistry | ||
) |
Definition at line 250 of file StallMonitor.cc.
References edm::Event, edm::ParameterSet::getUntrackedParameter(), edm::service::SystemBounds::maxNumberOfStreams(), numStreams_, postBeginJob(), postEndJob(), postEvent(), postEventReadFromSource(), postModuleEvent(), postModuleEventAcquire(), postModuleEventPrefetching(), postModuleGlobalTransition(), postModuleStreamTransition(), postSourceEvent(), preEvent(), preEventReadFromSource(), preModuleConstruction(), preModuleEvent(), preModuleEventAcquire(), preModuleGlobalTransition(), preModuleStreamTransition(), preSourceEvent(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::ThreadSafeOutputFileStream::write().
|
static |
Definition at line 338 of file StallMonitor.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), edm::ConfigurationDescriptions::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 376 of file StallMonitor.cc.
References beginTime_, mps_fire::i, label, moduleLabels_, moduleStats_, cmsPerfSuiteHarvest::now, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, ApeEstimator_cff::width, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 544 of file StallMonitor.cc.
References KineDebug3::count(), DEFINE_FWK_SERVICE, edm::for_all(), SiStripPI::max, moduleStats_, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, protons_cff::time, and ApeEstimator_cff::width.
Referenced by StallMonitor().
|
private |
Definition at line 537 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), runTauDisplay::eid, edm::StreamContext::eventID(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 524 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 530 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), edm::Event, eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 464 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 431 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, stallStart_, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 512 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, numStreams_, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 500 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 418 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, protons_cff::t, edm::StreamID::value(), and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 424 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), runTauDisplay::eid, edm::StreamContext::eventID(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 518 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 355 of file StallMonitor.cc.
References edm::ModuleDescription::id(), edm::ModuleDescription::moduleLabel(), and moduleLabels_.
Referenced by StallMonitor().
|
private |
Definition at line 470 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), edm::Event, moduleStats_, eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, stallStart_, lumiCalc2::startT, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 443 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), moduleStats_, eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, stallStart_, lumiCalc2::startT, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 506 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, numStreams_, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 491 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, protons_cff::t, and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 412 of file StallMonitor.cc.
References beginTime_, KineDebug3::count(), eostools::move(), mps_check::msg, cmsPerfSuiteHarvest::now, protons_cff::t, edm::StreamID::value(), and edm::ThreadSafeOutputFileStream::write().
Referenced by StallMonitor().
|
private |
Definition at line 221 of file StallMonitor.cc.
Referenced by postBeginJob(), postEvent(), postEventReadFromSource(), postModuleEvent(), postModuleEventAcquire(), postModuleEventPrefetching(), postModuleGlobalTransition(), postModuleStreamTransition(), postSourceEvent(), preEvent(), preEventReadFromSource(), preModuleEvent(), preModuleEventAcquire(), preModuleGlobalTransition(), preModuleStreamTransition(), and preSourceEvent().
|
private |
Definition at line 218 of file StallMonitor.cc.
|
private |
Definition at line 232 of file StallMonitor.cc.
Referenced by postBeginJob(), and preModuleConstruction().
|
private |
Definition at line 233 of file StallMonitor.cc.
Referenced by postBeginJob(), postEndJob(), preModuleEvent(), and preModuleEventAcquire().
|
private |
Definition at line 234 of file StallMonitor.cc.
Referenced by postModuleGlobalTransition(), preModuleGlobalTransition(), and StallMonitor().
|
private |
Definition at line 230 of file StallMonitor.cc.
Referenced by postModuleEventPrefetching(), preModuleEvent(), and preModuleEventAcquire().
|
private |
Definition at line 220 of file StallMonitor.cc.
|
private |
Definition at line 219 of file StallMonitor.cc.