CMS 3D CMS Logo

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

Member Function Documentation

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

Definition at line 178 of file FastTimerService.cc.

References trackingPlots::other, and mps_fire::result.

178  {
179  ResourcesPerPath result(*this);
180  result += other;
181  return result;
182 }
FastTimerService::ResourcesPerPath & FastTimerService::ResourcesPerPath::operator+= ( ResourcesPerPath const &  other)

Definition at line 170 of file FastTimerService.cc.

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

170  {
171  active += other.active;
172  total += other.total;
173  last = 0; // summing these makes no sense, reset them instead
174  status = false;
175  return *this;
176 }
void FastTimerService::ResourcesPerPath::reset ( void  )

Member Data Documentation

Resources FastTimerService::ResourcesPerPath::active

Definition at line 265 of file FastTimerService.h.

Referenced by operator+=().

unsigned FastTimerService::ResourcesPerPath::last

Definition at line 267 of file FastTimerService.h.

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

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

Definition at line 266 of file FastTimerService.h.

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