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 419 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 458 of file FastTimerService.h.

References query::result.

458  {
459  TimingPerProcess result = *this;
460  result += other;
461  return result;
462  }
tuple result
Definition: query.py:137
TimingPerProcess& FastTimerService::TimingPerProcess::operator+= ( TimingPerProcess const &  other)
inline

Definition at line 445 of file FastTimerService.h.

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

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

Definition at line 436 of file FastTimerService.h.

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

436  {
437  preevent = 0.;
438  event = 0.;
439  all_paths = 0.;
440  all_endpaths = 0.;
441  interpaths = 0.;
442  paths_interpaths.assign(paths_interpaths.size(), 0.);
443  }
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 425 of file FastTimerService.h.

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

double FastTimerService::TimingPerProcess::preevent