CMS 3D CMS Logo

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

Public Member Functions

ResourcesPerPath operator+ (ResourcesPerPath const &other) const
 
ResourcesPerPathoperator+= (ResourcesPerPath const &other)
 
void reset ()
 

Public Attributes

Resources active
 
unsigned last
 
bool status
 
Resources total
 

Detailed Description

Definition at line 272 of file FastTimerService.h.

Member Function Documentation

FastTimerService::ResourcesPerPath FastTimerService::ResourcesPerPath::operator+ ( ResourcesPerPath const &  other) const

Definition at line 219 of file FastTimerService.cc.

References mps_fire::result.

219  {
220  ResourcesPerPath result(*this);
221  result += other;
222  return result;
223 }
tuple result
Definition: mps_fire.py:311
FastTimerService::ResourcesPerPath & FastTimerService::ResourcesPerPath::operator+= ( ResourcesPerPath const &  other)

Definition at line 211 of file FastTimerService.cc.

References active, dqmdumpme::last, mps_update::status, dqmMemoryStats::total, and total.

211  {
212  active += other.active;
213  total += other.total;
214  last = 0; // summing these makes no sense, reset them instead
215  status = false;
216  return *this;
217 }
void FastTimerService::ResourcesPerPath::reset ( void  )

Member Data Documentation

Resources FastTimerService::ResourcesPerPath::active

Definition at line 279 of file FastTimerService.h.

Referenced by operator+=().

unsigned FastTimerService::ResourcesPerPath::last

Definition at line 281 of file FastTimerService.h.

Referenced by FastTimerService::PlotsPerPath::fill().

bool FastTimerService::ResourcesPerPath::status
Resources FastTimerService::ResourcesPerPath::total

Definition at line 280 of file FastTimerService.h.

Referenced by FastTimerService::PlotsPerPath::fill(), and operator+=().