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 ()
 
 ResourcesPerPath ()
 

Public Attributes

Resources active
 
unsigned last
 
bool status
 
Resources total
 

Detailed Description

Definition at line 297 of file FastTimerService.h.

Constructor & Destructor Documentation

FastTimerService::ResourcesPerPath::ResourcesPerPath ( )
default

Member Function Documentation

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

Definition at line 204 of file FastTimerService.cc.

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

204  {
205  ResourcesPerPath result(*this);
206  result += other;
207  return result;
208 }
FastTimerService::ResourcesPerPath & FastTimerService::ResourcesPerPath::operator+= ( ResourcesPerPath const &  other)

Definition at line 195 of file FastTimerService.cc.

References active, plotBeamSpotDB::last, mps_update::status, pileupDistInMC::total, and total.

195  {
196  active += other.active;
197  total += other.total;
198  last = 0; // summing these makes no sense, reset them instead
199  status = false;
200  return *this;
201 }
void FastTimerService::ResourcesPerPath::reset ( void  )

Member Data Documentation

Resources FastTimerService::ResourcesPerPath::active

Definition at line 305 of file FastTimerService.h.

Referenced by operator+=().

unsigned FastTimerService::ResourcesPerPath::last

Definition at line 307 of file FastTimerService.h.

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

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

Definition at line 306 of file FastTimerService.h.

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