Public Member Functions | |
CondorStatusService (ParameterSet const &pset, edm::ActivityRegistry &ar) | |
CondorStatusService (const CondorStatusService &)=delete | |
CondorStatusService & | operator= (const CondorStatusService &)=delete |
~CondorStatusService () | |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginPost () |
void | beginPre (PathsAndConsumesOfModulesBase const &, ProcessContext const &processContext) |
void | endPost () |
void | eventPost (StreamContext const &iContext) |
void | filePost (std::string const &, bool) |
void | firstUpdate () |
bool | isChirpSupported () |
void | lastUpdate () |
void | lumiPost (GlobalContext const &) |
void | preSourceConstruction (ModuleDescription const &md, int maxEvents, int maxLumis, int maxSecondsUntilRampdown) |
void | runPost (GlobalContext const &) |
void | update () |
template<typename T > | |
bool | updateChirp (const std::string &key_suffix, const T &value) |
bool | updateChirpImpl (std::string const &key, std::string const &value) |
bool | updateChirpQuoted (const std::string &key_suffix, const std::string &value) |
void | updateImpl (time_t secsSinceLastUpdate) |
Private Attributes | |
time_t | m_beginJob = 0 |
bool | m_debug |
float | m_emaInterval = m_defaultEmaInterval |
std::atomic< std::uint_least64_t > | m_events |
std::atomic< std::uint_least64_t > | m_files |
std::uint_least64_t | m_lastEventCount = 0 |
std::atomic< time_t > | m_lastUpdate |
std::atomic< std::uint_least64_t > | m_lumis |
edm::ParameterSetID | m_processParameterSetID |
float | m_rate = 0 |
std::atomic< std::uint_least64_t > | m_runs |
std::atomic_flag | m_shouldUpdate |
std::string | m_tag |
time_t | m_updateInterval = m_defaultUpdateInterval |
Static Private Attributes | |
static float | m_defaultEmaInterval = 15 * 60 |
static unsigned int | m_defaultUpdateInterval = 3 * 60 |
Definition at line 35 of file CondorStatusUpdater.cc.
|
explicit |
Definition at line 92 of file CondorStatusUpdater.cc.
References beginPost(), beginPre(), endPost(), eventPost(), edm::ParameterSet::exists(), filePost(), firstUpdate(), edm::ParameterSet::getUntrackedParameter(), isChirpSupported(), lumiPost(), m_debug, m_emaInterval, m_shouldUpdate, m_tag, m_updateInterval, runPost(), AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), and edm::ActivityRegistry::watchPreBeginJob().
Referenced by ~CondorStatusService().
|
inline |
Definition at line 38 of file CondorStatusUpdater.cc.
References beginPost(), beginPre(), CondorStatusService(), endPost(), eventPost(), filePost(), fillDescriptions(), firstUpdate(), isChirpSupported(), crabWrapper::key, lastUpdate(), lumiPost(), Data_TkAlMinBias_Run2018C_PromptReco_v3_cff::maxEvents, operator=(), preSourceConstruction(), runPost(), AlCaHLTBitMon_QueryRunRegistry::string, update(), updateChirp(), updateChirpImpl(), updateChirpQuoted(), and updateImpl().
|
delete |
|
private |
Definition at line 149 of file CondorStatusUpdater.cc.
References LaserTracksInput_cfi::fileNames, edm::ParameterSet::getParameterSet(), edm::getParameterSet(), edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), m_beginJob, m_processParameterSetID, Data_TkAlMinBias_Run2018C_PromptReco_v3_cff::maxEvents, edm::LuminosityBlockID::maxLuminosityBlockNumber(), cmsPerfSuiteHarvest::now, muonDTDigis_cfi::pset, edm::sortAndRemoveOverlaps(), update(), and updateChirp().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
private |
Definition at line 143 of file CondorStatusUpdater.cc.
References edm::Hash< I >::isValid(), m_processParameterSetID, and edm::ProcessContext::parameterSetID().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
private |
Definition at line 207 of file CondorStatusUpdater.cc.
References lastUpdate().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
private |
Definition at line 123 of file CondorStatusUpdater.cc.
References m_events, and update().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
private |
Definition at line 138 of file CondorStatusUpdater.cc.
References m_files, and update().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
static |
Definition at line 407 of file CondorStatusUpdater.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addOptionalUntracked(), m_defaultEmaInterval, m_defaultUpdateInterval, edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ~CondorStatusService().
|
private |
Definition at line 217 of file CondorStatusUpdater.cc.
References edm::CPUServiceBase::cpuInfo(), edm::Service< T >::isAvailable(), AlCaHLTBitMon_QueryRunRegistry::string, updateChirp(), updateChirpQuoted(), and updateImpl().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
private |
Definition at line 209 of file CondorStatusUpdater.cc.
References m_debug, and updateChirp().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
private |
Definition at line 236 of file CondorStatusUpdater.cc.
References gather_cfg::cout, edm::Service< T >::isAvailable(), m_lastUpdate, cmsPerfSuiteHarvest::now, updateChirp(), and updateImpl().
Referenced by endPost(), and ~CondorStatusService().
|
private |
Definition at line 128 of file CondorStatusUpdater.cc.
References m_lumis, and update().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
delete |
Referenced by ~CondorStatusService().
|
private |
Referenced by ~CondorStatusService().
|
private |
Definition at line 133 of file CondorStatusUpdater.cc.
References m_runs, and update().
Referenced by CondorStatusService(), and ~CondorStatusService().
|
inlineprivate |
Definition at line 246 of file CondorStatusUpdater.cc.
References m_lastUpdate, m_shouldUpdate, m_updateInterval, cmsPerfSuiteHarvest::now, and updateImpl().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), beginPost(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), eventPost(), filePost(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), lumiPost(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), runPost(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), and ~CondorStatusService().
|
private |
Definition at line 354 of file CondorStatusUpdater.cc.
References updateChirpImpl(), and relativeConstraints::value.
Referenced by beginPost(), firstUpdate(), isChirpSupported(), lastUpdate(), updateImpl(), and ~CondorStatusService().
|
private |
Definition at line 372 of file CondorStatusUpdater.cc.
References cmsBatch::argv, gather_cfg::cout, crabWrapper::key, m_debug, m_tag, sysUtil::pid, mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by updateChirp(), updateChirpQuoted(), and ~CondorStatusService().
|
private |
Definition at line 360 of file CondorStatusUpdater.cc.
References EnergyCorrector::c, AlCaHLTBitMon_QueryRunRegistry::string, updateChirpImpl(), and relativeConstraints::value.
Referenced by firstUpdate(), and ~CondorStatusService().
|
private |
Definition at line 263 of file CondorStatusUpdater.cc.
References XrdAdaptor::XrdStatisticsService::condorUpdate(), JetChargeProducer_cfi::exp, f, edm::TimingServiceBase::getTotalCPU(), edm::Service< T >::isAvailable(), m_beginJob, m_emaInterval, m_events, m_files, m_lastEventCount, m_lumis, m_rate, m_runs, SiStripPI::max, min(), cmsPerfSuiteHarvest::now, StorageAccount::read, StorageAccount::readv, AlCaHLTBitMon_QueryRunRegistry::string, StorageAccount::summary(), StorageAccount::tokenForStorageClassName(), updateChirp(), StorageAccount::write, and StorageAccount::writev.
Referenced by firstUpdate(), lastUpdate(), update(), and ~CondorStatusService().
|
private |
Definition at line 66 of file CondorStatusUpdater.cc.
Referenced by beginPost(), and updateImpl().
|
private |
Definition at line 64 of file CondorStatusUpdater.cc.
Referenced by CondorStatusService(), isChirpSupported(), and updateChirpImpl().
|
staticprivate |
Definition at line 70 of file CondorStatusUpdater.cc.
Referenced by fillDescriptions().
|
staticprivate |
Definition at line 71 of file CondorStatusUpdater.cc.
Referenced by fillDescriptions().
|
private |
Definition at line 68 of file CondorStatusUpdater.cc.
Referenced by CondorStatusService(), and updateImpl().
|
private |
Definition at line 73 of file CondorStatusUpdater.cc.
Referenced by eventPost(), and updateImpl().
|
private |
Definition at line 76 of file CondorStatusUpdater.cc.
Referenced by filePost(), and updateImpl().
|
private |
Definition at line 80 of file CondorStatusUpdater.cc.
Referenced by updateImpl().
|
private |
Definition at line 72 of file CondorStatusUpdater.cc.
Referenced by lastUpdate(), and update().
|
private |
Definition at line 74 of file CondorStatusUpdater.cc.
Referenced by lumiPost(), and updateImpl().
|
private |
Definition at line 78 of file CondorStatusUpdater.cc.
Referenced by beginPost(), and beginPre().
|
private |
Definition at line 69 of file CondorStatusUpdater.cc.
Referenced by updateImpl().
|
private |
Definition at line 75 of file CondorStatusUpdater.cc.
Referenced by runPost(), and updateImpl().
|
private |
Definition at line 65 of file CondorStatusUpdater.cc.
Referenced by CondorStatusService(), and update().
|
private |
Definition at line 77 of file CondorStatusUpdater.cc.
Referenced by CondorStatusService(), and updateChirpImpl().
|
private |
Definition at line 67 of file CondorStatusUpdater.cc.
Referenced by CondorStatusService(), and update().