#include <HLTPerformanceInfo.h>
Classes | |
class | Module |
class | Path |
Public Types | |
typedef std::vector< Module > | Modules |
typedef std::vector< cms_uint32_t > | ModulesInPath |
typedef std::vector< Path > | PathList |
Public Member Functions | |
void | addModule (const Module &m) |
void | addModuleToPath (const char *mod, const char *path) |
void | addModuleToPath (const size_t mod, const size_t path) |
void | addPath (const Path &p) |
Modules::const_iterator | beginModules () const |
PathList::iterator | beginPaths () |
void | clear () |
void | clearModules () |
Modules::const_iterator | endModules () const |
PathList::iterator | endPaths () |
Modules::iterator | findModule (const char *moduleInstanceName) |
PathList::iterator | findPath (const char *pathName) |
const Module & | getModule (size_t m) const |
const Module & | getModuleOnPath (size_t m, size_t p) const |
const Path & | getPath (size_t p) const |
HLTPerformanceInfo () | |
double | longestModuleCPUTime () const |
std::string | longestModuleCPUTimeName () const |
double | longestModuleTime () const |
std::string | longestModuleTimeName () const |
int | moduleIndexInPath (const char *mod, const char *path) |
size_t | numberOfModules () const |
size_t | numberOfPaths () const |
void | setStatusOfModulesFromPath (const char *pathName) |
double | totalCPUTime () const |
double | totalPathCPUTime (const size_t path) |
double | totalPathTime (const size_t path) |
double | totalTime () const |
bool | uniqueModule (const char *mod) const |
Private Attributes | |
Modules | modules_ |
PathList | paths_ |
Definition at line 12 of file HLTPerformanceInfo.h.
typedef std::vector<Module> HLTPerformanceInfo::Modules |
Definition at line 17 of file HLTPerformanceInfo.h.
typedef std::vector<cms_uint32_t> HLTPerformanceInfo::ModulesInPath |
Definition at line 18 of file HLTPerformanceInfo.h.
typedef std::vector<Path> HLTPerformanceInfo::PathList |
Definition at line 15 of file HLTPerformanceInfo.h.
HLTPerformanceInfo::HLTPerformanceInfo | ( | ) |
|
inline |
Definition at line 90 of file HLTPerformanceInfo.h.
References visualization-live-secondInstance_cfg::m, and modules_.
|
inline |
Definition at line 92 of file HLTPerformanceInfo.h.
References endModules(), findModule(), mps_fire::i, dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, mod(), modules_, EnsembleCalibrationLA_cfg::path, and paths_.
|
inline |
Definition at line 115 of file HLTPerformanceInfo.h.
References cms::cuda::assert(), mod(), modules_, EnsembleCalibrationLA_cfg::path, and paths_.
|
inline |
Definition at line 89 of file HLTPerformanceInfo.h.
References AlCaHLTBitMon_ParallelJobs::p, and paths_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 150 of file HLTPerformanceInfo.h.
References modules_.
Referenced by addModuleToPath().
|
inline |
Definition at line 146 of file HLTPerformanceInfo.h.
References paths_.
Referenced by moduleIndexInPath(), and setStatusOfModulesFromPath().
HLTPerformanceInfo::Modules::iterator HLTPerformanceInfo::findModule | ( | const char * | moduleInstanceName | ) |
Definition at line 16 of file HLTPerformanceInfo.cc.
References spr::find(), and modules_.
Referenced by addModuleToPath().
HLTPerformanceInfo::PathList::iterator HLTPerformanceInfo::findPath | ( | const char * | pathName | ) |
Definition at line 11 of file HLTPerformanceInfo.cc.
References spr::find(), MainPageGenerator::l, hltMonBTagIPClient_cfi::pathName, and paths_.
Referenced by moduleIndexInPath(), and setStatusOfModulesFromPath().
|
inline |
Definition at line 132 of file HLTPerformanceInfo.h.
References visualization-live-secondInstance_cfg::m, and modules_.
const HLTPerformanceInfo::Module & HLTPerformanceInfo::getModuleOnPath | ( | size_t | m, |
size_t | p | ||
) | const |
Definition at line 115 of file HLTPerformanceInfo.cc.
References cms::cuda::assert(), dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, modules_, AlCaHLTBitMon_ParallelJobs::p, and paths_.
|
inline |
Definition at line 133 of file HLTPerformanceInfo.h.
References AlCaHLTBitMon_ParallelJobs::p, and paths_.
double HLTPerformanceInfo::longestModuleCPUTime | ( | ) | const |
Definition at line 70 of file HLTPerformanceInfo.cc.
References mps_fire::i, WZElectronSkims53X_cff::max, modules_, and submitPVValidationJobs::t.
std::string HLTPerformanceInfo::longestModuleCPUTimeName | ( | ) | const |
Definition at line 90 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, AlCaHLTBitMon_QueryRunRegistry::string, and submitPVValidationJobs::t.
double HLTPerformanceInfo::longestModuleTime | ( | ) | const |
Definition at line 62 of file HLTPerformanceInfo.cc.
References mps_fire::i, WZElectronSkims53X_cff::max, modules_, and submitPVValidationJobs::t.
std::string HLTPerformanceInfo::longestModuleTimeName | ( | ) | const |
Definition at line 78 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, AlCaHLTBitMon_QueryRunRegistry::string, and submitPVValidationJobs::t.
int HLTPerformanceInfo::moduleIndexInPath | ( | const char * | mod, |
const char * | path | ||
) |
Definition at line 139 of file HLTPerformanceInfo.cc.
References dqmiodatasetharvest::ctr, endPaths(), findPath(), dqmiolumiharvest::j, mod(), modules_, AlCaHLTBitMon_ParallelJobs::p, and EnsembleCalibrationLA_cfg::path.
|
inline |
|
inline |
void HLTPerformanceInfo::setStatusOfModulesFromPath | ( | const char * | pathName | ) |
Definition at line 155 of file HLTPerformanceInfo.cc.
References dqmiodatasetharvest::ctr, endPaths(), findPath(), dqmiolumiharvest::j, mod(), modules_, AlCaHLTBitMon_ParallelJobs::p, edm::hlt::Pass, hltMonBTagIPClient_cfi::pathName, and edm::hlt::Ready.
double HLTPerformanceInfo::totalCPUTime | ( | ) | const |
Definition at line 28 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, and submitPVValidationJobs::t.
double HLTPerformanceInfo::totalPathCPUTime | ( | const size_t | path | ) |
Definition at line 49 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, paths_, mps_update::status, and submitPVValidationJobs::t.
double HLTPerformanceInfo::totalPathTime | ( | const size_t | path | ) |
Definition at line 36 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, paths_, mps_update::status, and submitPVValidationJobs::t.
double HLTPerformanceInfo::totalTime | ( | ) | const |
Definition at line 20 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, and submitPVValidationJobs::t.
bool HLTPerformanceInfo::uniqueModule | ( | const char * | mod | ) | const |
Definition at line 122 of file HLTPerformanceInfo.cc.
References visualization-live-secondInstance_cfg::m, mod(), modules_, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, paths_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 86 of file HLTPerformanceInfo.h.
Referenced by addModule(), addModuleToPath(), beginModules(), clear(), clearModules(), endModules(), findModule(), getModule(), getModuleOnPath(), HLTPerformanceInfo(), longestModuleCPUTime(), longestModuleCPUTimeName(), longestModuleTime(), longestModuleTimeName(), moduleIndexInPath(), numberOfModules(), setStatusOfModulesFromPath(), totalCPUTime(), totalPathCPUTime(), totalPathTime(), totalTime(), and uniqueModule().
|
private |
Definition at line 85 of file HLTPerformanceInfo.h.
Referenced by Config.Process::_insertPaths(), addModuleToPath(), addPath(), beginPaths(), clear(), Config.Process::dumpConfig(), Config.Process::dumpPython(), endPaths(), findPath(), getModuleOnPath(), getPath(), HLTPerformanceInfo(), numberOfPaths(), Config.Process::pathNames(), Config.Process::splitPython(), totalPathCPUTime(), totalPathTime(), and uniqueModule().