test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FastTimerService::TimingPerProcess Struct Reference

Public Member Functions

TimingPerProcess operator+ (TimingPerProcess const &other) const
 
TimingPerProcessoperator+= (TimingPerProcess const &other)
 
void reset ()
 
 TimingPerProcess ()
 

Public Attributes

double all_endpaths
 
double all_paths
 
double event
 
double interpaths
 
std::vector< double > paths_interpaths
 
double preevent
 

Detailed Description

Definition at line 415 of file FastTimerService.h.

Constructor & Destructor Documentation

FastTimerService::TimingPerProcess::TimingPerProcess ( )
inline

Member Function Documentation

TimingPerProcess FastTimerService::TimingPerProcess::operator+ ( TimingPerProcess const &  other) const
inline

Definition at line 454 of file FastTimerService.h.

References mps_fire::result.

454  {
455  TimingPerProcess result = *this;
456  result += other;
457  return result;
458  }
tuple result
Definition: mps_fire.py:84
TimingPerProcess& FastTimerService::TimingPerProcess::operator+= ( TimingPerProcess const &  other)
inline

Definition at line 441 of file FastTimerService.h.

References all_endpaths, all_paths, assert(), event, i, interpaths, paths_interpaths, and preevent.

441  {
442  assert( paths_interpaths.size() == other.paths_interpaths.size() );
443 
444  preevent += other.preevent;
445  event += other.event;
446  all_paths += other.all_paths;
447  all_endpaths += other.all_endpaths;
448  interpaths += other.interpaths;
449  for (unsigned int i = 0; i < paths_interpaths.size(); ++i)
450  paths_interpaths[i] += other.paths_interpaths[i];
451  return *this;
452  }
int i
Definition: DBlmapReader.cc:9
assert(m_qm.get())
std::vector< double > paths_interpaths
void FastTimerService::TimingPerProcess::reset ( void  )
inline

Definition at line 432 of file FastTimerService.h.

References all_endpaths, all_paths, interpaths, paths_interpaths, and preevent.

432  {
433  preevent = 0.;
434  event = 0.;
435  all_paths = 0.;
436  all_endpaths = 0.;
437  interpaths = 0.;
438  paths_interpaths.assign(paths_interpaths.size(), 0.);
439  }
std::vector< double > paths_interpaths

Member Data Documentation

double FastTimerService::TimingPerProcess::all_endpaths
double FastTimerService::TimingPerProcess::all_paths
double FastTimerService::TimingPerProcess::event
double FastTimerService::TimingPerProcess::interpaths
std::vector<double> FastTimerService::TimingPerProcess::paths_interpaths

Definition at line 421 of file FastTimerService.h.

Referenced by operator+=(), and reset().

double FastTimerService::TimingPerProcess::preevent