#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.
|
inline |
Definition at line 126 of file HLTPerformanceInfo.h.
References endModules(), findModule(), mps_fire::i, and funct::m.
|
inline |
|
inline |
Definition at line 119 of file HLTPerformanceInfo.h.
|
inline |
Definition at line 188 of file HLTPerformanceInfo.h.
|
inline |
Definition at line 181 of file HLTPerformanceInfo.h.
|
inline |
Definition at line 152 of file HLTPerformanceInfo.h.
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.
References getModuleOnPath(), mps_fire::i, funct::m, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Definition at line 192 of file HLTPerformanceInfo.h.
References longestModuleCPUTime(), longestModuleCPUTimeName(), longestModuleTime(), longestModuleTimeName(), setStatusOfModulesFromPath(), totalCPUTime(), totalPathCPUTime(), totalPathTime(), totalTime(), and uniqueModule().
Referenced by addModuleToPath().
|
inline |
Definition at line 184 of file HLTPerformanceInfo.h.
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(), and getPath().
HLTPerformanceInfo::PathList::iterator HLTPerformanceInfo::findPath | ( | const char * | pathName | ) |
Definition at line 11 of file HLTPerformanceInfo.cc.
References spr::find(), checklumidiff::l, and paths_.
Referenced by getPath(), moduleIndexInPath(), and setStatusOfModulesFromPath().
|
inline |
Definition at line 163 of file HLTPerformanceInfo.h.
const HLTPerformanceInfo::Module & HLTPerformanceInfo::getModuleOnPath | ( | size_t | m, |
size_t | p | ||
) | const |
Definition at line 129 of file HLTPerformanceInfo.cc.
References modules_, AlCaHLTBitMon_ParallelJobs::p, and paths_.
Referenced by clearModules().
|
inline |
Definition at line 164 of file HLTPerformanceInfo.h.
References findModule(), findPath(), mod(), moduleIndexInPath(), and callgraph::path.
double HLTPerformanceInfo::longestModuleCPUTime | ( | ) | const |
Definition at line 78 of file HLTPerformanceInfo.cc.
References mps_fire::i, hpstanc_transforms::max, modules_, and lumiQTWidget::t.
Referenced by endModules().
const char * HLTPerformanceInfo::longestModuleCPUTimeName | ( | ) | const |
Definition at line 101 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, AlCaHLTBitMon_QueryRunRegistry::string, and lumiQTWidget::t.
Referenced by endModules().
double HLTPerformanceInfo::longestModuleTime | ( | ) | const |
Definition at line 69 of file HLTPerformanceInfo.cc.
References mps_fire::i, hpstanc_transforms::max, modules_, and lumiQTWidget::t.
Referenced by endModules().
const char * HLTPerformanceInfo::longestModuleTimeName | ( | ) | const |
Definition at line 87 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, AlCaHLTBitMon_QueryRunRegistry::string, and lumiQTWidget::t.
Referenced by endModules().
int HLTPerformanceInfo::moduleIndexInPath | ( | const char * | mod, |
const char * | path | ||
) |
Definition at line 155 of file HLTPerformanceInfo.cc.
References endPaths(), findPath(), mod(), modules_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by getPath().
|
inline |
Definition at line 177 of file HLTPerformanceInfo.h.
|
inline |
Definition at line 174 of file HLTPerformanceInfo.h.
void HLTPerformanceInfo::setStatusOfModulesFromPath | ( | const char * | pathName | ) |
Definition at line 171 of file HLTPerformanceInfo.cc.
References endPaths(), findPath(), mod(), modules_, AlCaHLTBitMon_ParallelJobs::p, edm::hlt::Pass, edm::hlt::Ready, HLTPerformanceInfo::Module::setStatus(), HLTPerformanceInfo::Module::status(), and edm::HLTPathStatus::wasrun().
Referenced by endModules().
double HLTPerformanceInfo::totalCPUTime | ( | ) | const |
Definition at line 33 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, and lumiQTWidget::t.
Referenced by endModules().
double HLTPerformanceInfo::totalPathCPUTime | ( | const size_t | path | ) |
Definition at line 54 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, paths_, mps_update::status, and lumiQTWidget::t.
Referenced by endModules().
double HLTPerformanceInfo::totalPathTime | ( | const size_t | path | ) |
Definition at line 41 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, paths_, mps_update::status, and lumiQTWidget::t.
Referenced by endModules().
double HLTPerformanceInfo::totalTime | ( | ) | const |
Definition at line 25 of file HLTPerformanceInfo.cc.
References mps_fire::i, modules_, and lumiQTWidget::t.
Referenced by endModules().
bool HLTPerformanceInfo::uniqueModule | ( | const char * | mod | ) | const |
Definition at line 139 of file HLTPerformanceInfo.cc.
References funct::false, funct::m, modules_, dataset::name, AlCaHLTBitMon_ParallelJobs::p, paths_, AlCaHLTBitMon_QueryRunRegistry::string, and funct::true.
Referenced by endModules().
|
private |
Definition at line 116 of file HLTPerformanceInfo.h.
Referenced by findModule(), getModuleOnPath(), HLTPerformanceInfo(), longestModuleCPUTime(), longestModuleCPUTimeName(), longestModuleTime(), longestModuleTimeName(), moduleIndexInPath(), setStatusOfModulesFromPath(), totalCPUTime(), totalPathCPUTime(), totalPathTime(), totalTime(), and uniqueModule().
|
private |
Definition at line 115 of file HLTPerformanceInfo.h.
Referenced by Config.Process::_insertPaths(), Config.Process::dumpConfig(), Config.Process::dumpPython(), findPath(), getModuleOnPath(), HLTPerformanceInfo(), Config.Process::pathNames(), totalPathCPUTime(), totalPathTime(), and uniqueModule().