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::Timing Struct Reference

Public Member Functions

Timing operator+ (Timing const &other) const
 
Timingoperator+= (Timing const &other)
 
void reset ()
 
 Timing ()
 

Public Attributes

unsigned int count
 
double event
 
double preevent
 
double presource
 
double source
 

Detailed Description

Definition at line 374 of file FastTimerService.h.

Constructor & Destructor Documentation

FastTimerService::Timing::Timing ( )
inline

Definition at line 381 of file FastTimerService.h.

381  :
382  presource (0.),
383  source (0.),
384  preevent (0.),
385  event (0.),
386  count (0)
387  { }

Member Function Documentation

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

Definition at line 407 of file FastTimerService.h.

References mps_fire::result.

407  {
408  Timing result = *this;
409  result += other;
410  return result;
411  }
tuple result
Definition: mps_fire.py:83
Timing& FastTimerService::Timing::operator+= ( Timing const &  other)
inline

Definition at line 397 of file FastTimerService.h.

References count, event, preevent, presource, and source.

397  {
398  presource += other.presource;
399  source += other.source;
400  preevent += other.preevent;
401  event += other.event;
402  count += other.count;
403 
404  return *this;
405  }
void FastTimerService::Timing::reset ( void  )
inline

Definition at line 389 of file FastTimerService.h.

References count, preevent, presource, and source.

Referenced by FastTimerService::StreamData::reset().

389  {
390  presource = 0.;
391  source = 0.;
392  preevent = 0.;
393  event = 0.;
394  count = 0;
395  }

Member Data Documentation

unsigned int FastTimerService::Timing::count
double FastTimerService::Timing::event
double FastTimerService::Timing::preevent
double FastTimerService::Timing::presource
double FastTimerService::Timing::source