#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 |
const char * | longestModuleCPUTimeName () const |
double | longestModuleTime () const |
const char * | 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 11 of file HLTPerformanceInfo.h.
typedef std::vector<Module> HLTPerformanceInfo::Modules |
Definition at line 16 of file HLTPerformanceInfo.h.
typedef std::vector<cms_uint32_t> HLTPerformanceInfo::ModulesInPath |
Definition at line 17 of file HLTPerformanceInfo.h.
typedef std::vector<Path> HLTPerformanceInfo::PathList |
Definition at line 14 of file HLTPerformanceInfo.h.
HLTPerformanceInfo::HLTPerformanceInfo | ( | ) |
|
inline |
Definition at line 122 of file HLTPerformanceInfo.h.
References modules_.
|
inline |
Definition at line 126 of file HLTPerformanceInfo.h.
References endModules(), findModule(), i, j, visualization-live-secondInstance_cfg::m, modules_, and paths_.
|
inline |
Definition at line 147 of file HLTPerformanceInfo.h.
References assert(), modules_, cmsHarvester::path, and paths_.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 152 of file HLTPerformanceInfo.h.
References modules_, and paths_.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
Definition at line 155 of file HLTPerformanceInfo.h.
|
inline |
Definition at line 192 of file HLTPerformanceInfo.h.
References modules_.
Referenced by addModuleToPath().
|
inline |
Definition at line 184 of file HLTPerformanceInfo.h.
References paths_.
Referenced by moduleIndexInPath(), and setStatusOfModulesFromPath().
HLTPerformanceInfo::Modules::iterator HLTPerformanceInfo::findModule | ( | const char * | moduleInstanceName | ) |
Definition at line 18 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(), prof2calltree::l, EgammaValidation_cff::pathName, and paths_.
Referenced by moduleIndexInPath(), and setStatusOfModulesFromPath().
|
inline |
Definition at line 163 of file HLTPerformanceInfo.h.
References modules_.
const HLTPerformanceInfo::Module & HLTPerformanceInfo::getModuleOnPath | ( | size_t | m, |
size_t | p | ||
) | const |
Definition at line 129 of file HLTPerformanceInfo.cc.
References assert(), j, modules_, AlCaHLTBitMon_ParallelJobs::p, and paths_.
|
inline |
double HLTPerformanceInfo::longestModuleCPUTime | ( | ) | const |
Definition at line 78 of file HLTPerformanceInfo.cc.
References i, bookConverter::max, modules_, and edmStreamStallGrapher::t.
const char * HLTPerformanceInfo::longestModuleCPUTimeName | ( | ) | const |
Definition at line 101 of file HLTPerformanceInfo.cc.
References i, modules_, AlCaHLTBitMon_QueryRunRegistry::string, and edmStreamStallGrapher::t.
double HLTPerformanceInfo::longestModuleTime | ( | ) | const |
Definition at line 69 of file HLTPerformanceInfo.cc.
References i, bookConverter::max, modules_, and edmStreamStallGrapher::t.
const char * HLTPerformanceInfo::longestModuleTimeName | ( | ) | const |
Definition at line 87 of file HLTPerformanceInfo.cc.
References i, modules_, AlCaHLTBitMon_QueryRunRegistry::string, and edmStreamStallGrapher::t.
int HLTPerformanceInfo::moduleIndexInPath | ( | const char * | mod, |
const char * | path | ||
) |
Definition at line 155 of file HLTPerformanceInfo.cc.
References endPaths(), findPath(), j, mod(), modules_, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
|
inline |
void HLTPerformanceInfo::setStatusOfModulesFromPath | ( | const char * | pathName | ) |
Definition at line 171 of file HLTPerformanceInfo.cc.
References endPaths(), findPath(), j, mod(), modules_, AlCaHLTBitMon_ParallelJobs::p, edm::hlt::Pass, edm::hlt::Ready, HLTPerformanceInfo::Module::setStatus(), HLTPerformanceInfo::Module::status(), and edm::HLTPathStatus::wasrun().
double HLTPerformanceInfo::totalCPUTime | ( | ) | const |
Definition at line 33 of file HLTPerformanceInfo.cc.
References i, modules_, and edmStreamStallGrapher::t.
double HLTPerformanceInfo::totalPathCPUTime | ( | const size_t | path | ) |
Definition at line 54 of file HLTPerformanceInfo.cc.
References i, modules_, paths_, ntuplemaker::status, and edmStreamStallGrapher::t.
double HLTPerformanceInfo::totalPathTime | ( | const size_t | path | ) |
Definition at line 41 of file HLTPerformanceInfo.cc.
References i, modules_, paths_, ntuplemaker::status, and edmStreamStallGrapher::t.
double HLTPerformanceInfo::totalTime | ( | ) | const |
Definition at line 25 of file HLTPerformanceInfo.cc.
References i, modules_, and edmStreamStallGrapher::t.
bool HLTPerformanceInfo::uniqueModule | ( | const char * | mod | ) | const |
Definition at line 139 of file HLTPerformanceInfo.cc.
References edm::false, visualization-live-secondInstance_cfg::m, modules_, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, paths_, AlCaHLTBitMon_QueryRunRegistry::string, and funct::true.
|
private |
Definition at line 116 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 115 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(), totalPathCPUTime(), totalPathTime(), and uniqueModule().