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_ |
bool | configuredInTopLevelProcess_ |
std::atomic< CountAndTime * > | countAndTimeForGet_ |
std::atomic< CountAndTime * > | countAndTimeForLock_ |
CountAndTime | countAndTimeZero_ |
std::vector< std::unique_ptr< std::atomic< unsigned int > > > | countSubProcessesPostEvent_ |
std::vector< std::unique_ptr< std::atomic< unsigned int > > > | countSubProcessesPreEvent_ |
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 | nSubProcesses_ |
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 219 of file Timing.cc.
|
private |
Definition at line 633 of file Timing.cc.
References edm::service::Timing::CountAndTime::count_, and edm::service::getTime().
Referenced by postLockEventSetupGet(), and preLockEventSetupGet().
|
private |
Definition at line 656 of file Timing.cc.
References edm::service::Timing::CountAndTime::count_, cppFunctionSkipper::exception, edm::service::getTime(), edm::service::Timing::CountAndTime::time_, and LaserClient_cfi::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 336 of file Timing.cc.
|
static |
Definition at line 345 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 343 of file Timing.cc.
References edm::service::getCPU().
|
private |
Definition at line 517 of file Timing.cc.
References edm::StreamContext::eventID(), and total_event_count_.
Referenced by postEvent().
|
private |
Definition at line 365 of file Timing.cc.
References edm::service::getCPU(), and edm::service::getTime().
|
private |
Definition at line 594 of file Timing.cc.
References edm::service::popStack(), and OrderedSet::t.
Referenced by postModule(), postModuleEvent(), postModuleGlobal(), postModuleStream(), postOpenFile(), postSourceEvent(), postSourceLumi(), and postSourceRun().
|
private |
Definition at line 383 of file Timing.cc.
References curr_job_cpu_, curr_job_time_, edm::service::d2str(), extra_job_cpu_, edm::service::getCPU(), edm::service::getTime(), edm::TimingServiceBase::jobStartTime(), OrderedSet::t, total_event_count_, and edm::service::ui2str().
|
private |
Definition at line 501 of file Timing.cc.
References KineDebug3::count(), edm::service::getTime(), lastPostEvent(), edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 627 of file Timing.cc.
References accumulateTimeEnd().
|
private |
Definition at line 579 of file Timing.cc.
References begin_lumi_count_, edm::ProcessContext::isSubProcess(), and edm::GlobalContext::processContext().
|
private |
Definition at line 570 of file Timing.cc.
References begin_run_count_, edm::ProcessContext::isSubProcess(), and edm::GlobalContext::processContext().
|
private |
Definition at line 617 of file Timing.cc.
References accumulateTimeBegin(), and accumulateTimeEnd().
|
private |
|
private |
Definition at line 531 of file Timing.cc.
References edm::StreamContext::eventID(), edm::ModuleCallingContext::moduleDescription(), postCommon(), and OrderedSet::t.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 357 of file Timing.cc.
References edm::ProcessContext::isSubProcess(), and nSubProcesses_.
|
private |
Definition at line 484 of file Timing.cc.
References KineDebug3::count(), edm::service::getTime(), edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 608 of file Timing.cc.
References accumulateTimeBegin().
|
private |
Definition at line 560 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 564 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 588 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 544 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 548 of file Timing.cc.
References edm::service::pushStack().
|
private |
Definition at line 552 of file Timing.cc.
References edm::service::pushStack().
|
private |
|
private |
|
private |
Definition at line 132 of file Timing.cc.
Referenced by postGlobalBeginLumi().
|
private |
Definition at line 133 of file Timing.cc.
Referenced by postGlobalBeginRun().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
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 117 of file Timing.cc.
Referenced by postEndJob().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 149 of file Timing.cc.
Referenced by preBeginJob().
|
private |
|
private |
Definition at line 131 of file Timing.cc.
Referenced by lastPostEvent(), and postEndJob().