1 #ifndef Edm_Module_Timing_h 2 #define Edm_Module_Timing_h 39 unsigned size()
const{
return moduleSet.size();}
43 return moduleSet.at(i);
50 return moduleSet.at(i).name();
55 return moduleSet.at(i).time();
60 moduleSet.push_back(m);
61 tot_time_ += m.
time();
66 {moduleSet.clear(); tot_time_ = 0;}
73 #endif // #define Edm_Module_Timing_h
const ModuleTime & moduleTime(unsigned i)
void addModuleTime(const ModuleTime &m)
double time(unsigned i) const
std::vector< ModuleTime > moduleSet
std::string name(unsigned i) const
ModuleTime(std::string Name, double Time)
void reset(double vett[256])