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 | |
const TimingServiceBase & | operator= (const TimingServiceBase &)=delete |
TimingServiceBase () | |
TimingServiceBase (const TimingServiceBase &)=delete | |
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 > | end_loop_cpu_ |
std::atomic< double > | end_loop_time_ |
std::atomic< double > | extra_job_cpu_ |
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 217 of file Timing.cc.
|
private |
Definition at line 608 of file Timing.cc.
References edm::service::Timing::CountAndTime::count_, countAndTimeZero_, and edm::service::getTime().
|
private |
Definition at line 631 of file Timing.cc.
References edm::service::Timing::CountAndTime::count_, countAndTimeZero_, cppFunctionSkipper::exception, edm::service::getTime(), and edm::service::Timing::CountAndTime::time_.
|
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 332 of file Timing.cc.
References extra_job_cpu_.
|
static |
Definition at line 341 of file Timing.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and edm::ConfigurationDescriptions::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 339 of file Timing.cc.
References edm::service::getCPU().
|
private |
Definition at line 517 of file Timing.cc.
References edm::StreamContext::eventID(), max_events_time_, min_events_time_, sum_events_time_, summary_only_, and total_event_count_.
Referenced by postEvent().
|
private |
Definition at line 361 of file Timing.cc.
References configuredInTopLevelProcess_, curr_job_cpu_, curr_job_time_, edm::service::getCPU(), edm::service::getTime(), and summary_only_.
|
private |
Definition at line 594 of file Timing.cc.
References configuredInTopLevelProcess_, edm::service::popStack(), submitPVValidationJobs::t, and threshold_.
Referenced by postModule(), postModuleEvent(), postModuleGlobal(), postModuleStream(), postOpenFile(), postSourceEvent(), postSourceLumi(), and postSourceRun().
|
private |
Definition at line 379 of file Timing.cc.
References accumulatedTimeForGet_, accumulatedTimeForLock_, begin_lumi_count_, begin_run_count_, configuredInTopLevelProcess_, curr_job_cpu_, curr_job_time_, edm::service::d2str(), end_loop_cpu_, end_loop_time_, extra_job_cpu_, edm::service::getChildrenCPU(), edm::service::getCPU(), edm::service::getTime(), edm::TimingServiceBase::jobStartTime(), max_events_time_, min_events_time_, nStreams_, nThreads_, report_summary_, sum_events_time_, submitPVValidationJobs::t, total_event_count_, and edm::service::ui2str().
|
private |
Definition at line 501 of file Timing.cc.
References configuredInTopLevelProcess_, submitPVResolutionJobs::count, countSubProcessesPostEvent_, curr_events_time_, edm::service::getTime(), lastPostEvent(), nSubProcesses_, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 579 of file Timing.cc.
References begin_lumi_count_, configuredInTopLevelProcess_, edm::ProcessContext::isSubProcess(), and edm::GlobalContext::processContext().
|
private |
Definition at line 570 of file Timing.cc.
References begin_run_count_, configuredInTopLevelProcess_, edm::ProcessContext::isSubProcess(), and edm::GlobalContext::processContext().
|
private |
|
private |
Definition at line 531 of file Timing.cc.
References configuredInTopLevelProcess_, submitPVResolutionJobs::desc, edm::StreamContext::eventID(), edm::ModuleCallingContext::moduleDescription(), postCommon(), summary_only_, and submitPVValidationJobs::t.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 353 of file Timing.cc.
References configuredInTopLevelProcess_, edm::ProcessContext::isSubProcess(), and nSubProcesses_.
|
private |
Definition at line 484 of file Timing.cc.
References configuredInTopLevelProcess_, submitPVResolutionJobs::count, countSubProcessesPreEvent_, curr_events_time_, edm::service::getTime(), nSubProcesses_, edm::StreamContext::streamID(), and edm::StreamID::value().
|
private |
Definition at line 560 of file Timing.cc.
References configuredInTopLevelProcess_, and edm::service::pushStack().
|
private |
Definition at line 564 of file Timing.cc.
References configuredInTopLevelProcess_, and edm::service::pushStack().
|
private |
Definition at line 588 of file Timing.cc.
References configuredInTopLevelProcess_, and edm::service::pushStack().
|
private |
Definition at line 556 of file Timing.cc.
References configuredInTopLevelProcess_, and edm::service::pushStack().
|
private |
Definition at line 544 of file Timing.cc.
References configuredInTopLevelProcess_, and edm::service::pushStack().
|
private |
Definition at line 548 of file Timing.cc.
References configuredInTopLevelProcess_, and edm::service::pushStack().
|
private |
Definition at line 552 of file Timing.cc.
References configuredInTopLevelProcess_, and edm::service::pushStack().
|
private |
Definition at line 131 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 128 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 120 of file Timing.cc.
Referenced by postEndJob(), and postGlobalBeginLumi().
|
private |
Definition at line 121 of file Timing.cc.
Referenced by postEndJob(), and postGlobalBeginRun().
|
private |
Definition at line 136 of file Timing.cc.
Referenced by postBeginJob(), postCommon(), postEndJob(), postEvent(), postGlobalBeginLumi(), postGlobalBeginRun(), postModuleEvent(), preBeginJob(), preEvent(), preModule(), preModuleGlobal(), preModuleStream(), preOpenFile(), preSourceEvent(), preSourceLumi(), and preSourceRun().
|
private |
|
private |
|
private |
Definition at line 125 of file Timing.cc.
Referenced by accumulateTimeBegin(), and accumulateTimeEnd().
|
private |
Definition at line 134 of file Timing.cc.
Referenced by postEvent().
|
private |
Definition at line 133 of file Timing.cc.
Referenced by preEvent().
|
private |
Definition at line 109 of file Timing.cc.
Referenced by postEvent(), and preEvent().
|
private |
Definition at line 104 of file Timing.cc.
Referenced by postBeginJob(), and postEndJob().
|
private |
Definition at line 103 of file Timing.cc.
Referenced by postBeginJob(), and postEndJob().
|
private |
Definition at line 108 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 107 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 105 of file Timing.cc.
Referenced by addToCPUTime(), and postEndJob().
|
private |
Definition at line 116 of file Timing.cc.
Referenced by lastPostEvent(), and postEndJob().
|
private |
Definition at line 117 of file Timing.cc.
Referenced by lastPostEvent(), and postEndJob().
|
private |
Definition at line 122 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 137 of file Timing.cc.
Referenced by postEvent(), preBeginJob(), and preEvent().
|
private |
Definition at line 123 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 111 of file Timing.cc.
Referenced by postEndJob().
|
private |
Definition at line 118 of file Timing.cc.
Referenced by lastPostEvent(), and postEndJob().
|
private |
Definition at line 110 of file Timing.cc.
Referenced by lastPostEvent(), postBeginJob(), and postModuleEvent().
|
private |
Definition at line 112 of file Timing.cc.
Referenced by postCommon().
|
private |
Definition at line 119 of file Timing.cc.
Referenced by lastPostEvent(), and postEndJob().