2 #ifndef HLTPERFORMANCEINFO_H 3 #define HLTPERFORMANCEINFO_H 33 : name_(n), dt_(dt), dtCPU_(dtCPU), status_(
stat) {}
73 const size_t operator[](
size_t m)
const {
return moduleView_.at(m); }
77 ModulesInPath::const_iterator
begin() {
return moduleView_.begin(); }
78 ModulesInPath::const_iterator
end() {
return moduleView_.end(); }
98 modules_.push_back(newMod);
101 for (
size_t i = 0;
i < paths_.size(); ++
i) {
102 if (!(paths_[
i] == path))
105 for (
size_t j = 0;
j < modules_.size(); ++
j) {
106 if (!(modules_[
j] == mod))
108 paths_[
i].addModuleRef(
j);
116 assert((path < paths_.size()) && (mod < modules_.size()));
117 paths_[
path].addModuleRef(mod);
125 for (
size_t i = 0;
i < modules_.size(); ++
i) {
137 Modules::iterator
findModule(
const char *moduleInstanceName);
146 PathList::iterator
endPaths() {
return paths_.end(); }
148 Modules::const_iterator
beginModules()
const {
return modules_.begin(); }
150 Modules::const_iterator
endModules()
const {
return modules_.end(); }
173 #endif // HLTPERFORMANCEINFO_H
void reset()
reset this path
static char const * tname
T mod(const T &a, const T &b)