Public Member Functions | |
ConcurrentModuleTimer (edm::ParameterSet const &iConfig, edm::ActivityRegistry &iAR) | |
~ConcurrentModuleTimer () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | start () |
void | stop () |
bool | trackModule (ModuleCallingContext const &iContext) const |
Private Attributes | |
std::vector< unsigned int > | m_excludedModuleIds |
bool | m_excludeSource |
std::vector< std::string > | m_modulesToExclude |
unsigned int | m_nModules |
unsigned int | m_nTimeSums = 0 |
std::atomic< bool > | m_spinLock |
bool | m_startedTiming |
std::chrono::high_resolution_clock::time_point | m_time |
std::unique_ptr< std::atomic< std::chrono::high_resolution_clock::rep >[]> | m_timeSums |
Definition at line 29 of file ConcurrentModuleTimer.cc.
ConcurrentModuleTimer::ConcurrentModuleTimer | ( | edm::ParameterSet const & | iConfig, |
edm::ActivityRegistry & | iAR | ||
) |
Definition at line 68 of file ConcurrentModuleTimer.cc.
References mps_fire::i, edm::ModuleDescription::id(), edm::ModuleCallingContext::kRunning, m_excludedModuleIds, m_excludeSource, m_modulesToExclude, m_nTimeSums, m_startedTiming, m_time, m_timeSums, edm::service::SystemBounds::maxNumberOfThreads(), edm::ModuleDescription::moduleLabel(), dataset::name, cmsPerfSuiteHarvest::now, start(), edm::ModuleCallingContext::state(), stop(), and trackModule().
ConcurrentModuleTimer::~ConcurrentModuleTimer | ( | ) |
Definition at line 156 of file ConcurrentModuleTimer.cc.
References gather_cfg::cout, mps_fire::i, m_nTimeSums, and m_timeSums.
|
static |
Definition at line 250 of file ConcurrentModuleTimer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), and DEFINE_FWK_SERVICE.
|
private |
Definition at line 186 of file ConcurrentModuleTimer.cc.
References diffTreeTool::diff, mps_fire::i, m_nModules, m_nTimeSums, m_spinLock, m_time, m_timeSums, and cmsPerfSuiteHarvest::now.
Referenced by progressbar.ProgressBar::__next__(), and ConcurrentModuleTimer().
|
private |
Definition at line 209 of file ConcurrentModuleTimer.cc.
References diffTreeTool::diff, mps_fire::i, m_nModules, m_nTimeSums, m_spinLock, m_time, m_timeSums, and cmsPerfSuiteHarvest::now.
Referenced by ConcurrentModuleTimer().
|
private |
Definition at line 235 of file ConcurrentModuleTimer.cc.
References edm::ModuleDescription::id(), m_excludedModuleIds, and edm::ModuleCallingContext::moduleDescription().
Referenced by ConcurrentModuleTimer().
|
private |
Definition at line 41 of file ConcurrentModuleTimer.cc.
Referenced by ConcurrentModuleTimer(), and trackModule().
|
private |
Definition at line 47 of file ConcurrentModuleTimer.cc.
Referenced by ConcurrentModuleTimer().
|
private |
Definition at line 40 of file ConcurrentModuleTimer.cc.
Referenced by ConcurrentModuleTimer().
|
private |
Definition at line 44 of file ConcurrentModuleTimer.cc.
|
private |
Definition at line 43 of file ConcurrentModuleTimer.cc.
Referenced by ConcurrentModuleTimer(), start(), stop(), and ~ConcurrentModuleTimer().
|
private |
Definition at line 45 of file ConcurrentModuleTimer.cc.
|
private |
Definition at line 46 of file ConcurrentModuleTimer.cc.
Referenced by ConcurrentModuleTimer().
|
private |
Definition at line 42 of file ConcurrentModuleTimer.cc.
Referenced by ConcurrentModuleTimer(), start(), and stop().
|
private |
Definition at line 39 of file ConcurrentModuleTimer.cc.
Referenced by ConcurrentModuleTimer(), start(), stop(), and ~ConcurrentModuleTimer().