Classes | |
struct | CountAndTime |
Public Member Functions | |
void | addToCPUTime (double iTime) override |
double | getTotalCPU () const override |
Timing (ParameterSet const &, ActivityRegistry &) | |
~Timing () override | |
Public Member Functions inherited from edm::TimingServiceBase | |
TimingServiceBase () | |
virtual | ~TimingServiceBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::TimingServiceBase | |
static void | jobStarted () |
static double | jobStartTime () |
Private Attributes | |
double | accumulatedTimeForGet_ |
double | accumulatedTimeForLock_ |
std::atomic< unsigned long > | begin_lumi_count_ |
std::atomic< unsigned long > | begin_run_count_ |
std::atomic< CountAndTime * > | countAndTimeForGet_ |
std::atomic< CountAndTime * > | countAndTimeForLock_ |
CountAndTime | countAndTimeZero_ |
std::vector< double > | curr_events_time_ |
double | curr_job_cpu_ |
double | curr_job_time_ |
std::atomic< double > | extra_job_cpu_ |
std::atomic< double > | last_run_cpu_ |
std::atomic< double > | last_run_time_ |
std::vector< double > | max_events_time_ |
std::vector< double > | min_events_time_ |
unsigned int | nStreams_ |
unsigned int | nThreads_ |
bool | report_summary_ |
std::vector< double > | sum_events_time_ |
bool | summary_only_ |
double | threshold_ |
std::atomic< unsigned long > | total_event_count_ |
edm::service::Timing::Timing | ( | ParameterSet const & | iPS, |
ActivityRegistry & | iRegistry | ||
) |
Definition at line 210 of file Timing.cc.
|
private |
Definition at line 603 of file Timing.cc.
References edm::service::Timing::CountAndTime::count_, countAndTimeZero_, and edm::service::getTime().
Referenced by postLockEventSetupGet(), and preLockEventSetupGet().
|
private |
Definition at line 625 of file Timing.cc.
References edm::service::Timing::CountAndTime::count_, countAndTimeZero_, cppFunctionSkipper::exception, edm::service::getTime(), edm::service::Timing::CountAndTime::time_, and trackingPlots::Timing.
Referenced by postEventSetupGet(), and postLockEventSetupGet().
|
overridevirtual |
Extra CPU time used by a job but not seen by cmsRun The value should be in seconds. This function is safe to call from multiple threads
Implements edm::TimingServiceBase.
Definition at line 323 of file Timing.cc.
References extra_job_cpu_.
|
static |
Definition at line 333 of file Timing.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), edm::ConfigurationDescriptions::setComment(), and edm::ParameterDescriptionNode::setComment().
|
overridevirtual |
CPU time used by this process and all its children. The value returned should be in seconds.
Implements edm::TimingServiceBase.
Definition at line 329 of file Timing.cc.
References edm::service::getCPU().
|
private |
Definition at line 346 of file Timing.cc.
References curr_job_cpu_, curr_job_time_, edm::service::getCPU(), and edm::service::getTime().
|
private |
Definition at line 566 of file Timing.cc.
References edm::service::popStack(), lumiQTWidget::t, and threshold_.
Referenced by postModule(), postModuleEvent(), postModuleGlobal(), postModuleStream(), postOpenFile(), postSourceEvent(), postSourceLumi(), and postSourceRun().
|
private |
Definition at line 361 of file Timing.cc.
References accumulatedTimeForGet_, accumulatedTimeForLock_, begin_lumi_count_, begin_run_count_, curr_job_cpu_, curr_job_time_, edm::service::d2str(), extra_job_cpu_, edm::service::getCPU(), edm::service::getTime(), edm::TimingServiceBase::jobStartTime(), last_run_cpu_, last_run_time_, max_events_time_, min_events_time_, nStreams_, nThreads_, report_summary_, sum_events_time_, lumiQTWidget::t, total_event_count_, and edm::service::ui2str().
|
private |
Definition at line 460 of file Timing.cc.
References curr_events_time_, edm::StreamContext::eventID(), edm::service::getTime(), max_events_time_, min_events_time_, edm::StreamContext::streamID(), sum_events_time_, total_event_count_, and edm::StreamID::value().
|
private |
Definition at line 595 of file Timing.cc.
References accumulatedTimeForGet_, accumulateTimeEnd(), and countAndTimeForGet_.
|
private |
Definition at line 551 of file Timing.cc.
References begin_lumi_count_.
|
private |
Definition at line 546 of file Timing.cc.
References begin_run_count_.
|
private |
Definition at line 586 of file Timing.cc.
References accumulatedTimeForGet_, accumulatedTimeForLock_, accumulateTimeBegin(), accumulateTimeEnd(), countAndTimeForGet_, and countAndTimeForLock_.
|
private |
|
private |
Definition at line 479 of file Timing.cc.
References edm::StreamContext::eventID(), edm::ModuleCallingContext::moduleDescription(), postCommon(), and lumiQTWidget::t.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 455 of file Timing.cc.
References curr_events_time_, edm::service::getTime(), edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 578 of file Timing.cc.
References accumulatedTimeForLock_, accumulateTimeBegin(), and countAndTimeForLock_.
|
private |
Definition at line 526 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 536 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 556 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 517 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 493 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 501 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 509 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 139 of file Timing.cc.
Referenced by postEndJob(), postEventSetupGet(), and postLockEventSetupGet().
|
private |
Definition at line 136 of file Timing.cc.
Referenced by postEndJob(), postLockEventSetupGet(), and preLockEventSetupGet().
|
private |
Definition at line 128 of file Timing.cc.
Referenced by postEndJob(), and postGlobalBeginLumi().
|
private |
Definition at line 129 of file Timing.cc.
Referenced by postEndJob(), and postGlobalBeginRun().
|
private |
Definition at line 138 of file Timing.cc.
Referenced by postEventSetupGet(), and postLockEventSetupGet().
|
private |
Definition at line 135 of file Timing.cc.
Referenced by postLockEventSetupGet(), and preLockEventSetupGet().
|
private |
Definition at line 133 of file Timing.cc.
Referenced by accumulateTimeBegin(), and accumulateTimeEnd().
|
private |
Definition at line 117 of file Timing.cc.
Referenced by postEvent(), and preEvent().
|
private |
Definition at line 112 of file Timing.cc.
Referenced by postBeginJob(), and postEndJob().
|
private |
Definition at line 111 of file Timing.cc.
Referenced by postBeginJob(), and postEndJob().
|
private |
Definition at line 113 of file Timing.cc.
Referenced by addToCPUTime(), and postEndJob().
|
private |
Definition at line 116 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 115 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 124 of file Timing.cc.
Referenced by postEndJob(), and postEvent().
|
private |
Definition at line 125 of file Timing.cc.
Referenced by postEndJob(), and postEvent().
|
private |
Definition at line 130 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 131 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 119 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 126 of file Timing.cc.
Referenced by postEndJob(), and postEvent().
|
private |
Definition at line 120 of file Timing.cc.
Referenced by postCommon().
|
private |
Definition at line 127 of file Timing.cc.
Referenced by postEndJob(), and postEvent().