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

Member Function Documentation

◆ operator+()

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

Definition at line 218 of file FastTimerService.cc.

218  {
219  ResourcesPerPath result(*this);
220  result += other;
221  return result;
222 }

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

◆ operator+=()

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

Definition at line 210 of file FastTimerService.cc.

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

References dqmdumpme::last, trackingPlots::other, mps_update::status, and dqmMemoryStats::total.

◆ reset()

void FastTimerService::ResourcesPerPath::reset ( void  )

Definition at line 203 of file FastTimerService.cc.

203  {
204  active.reset();
205  total.reset();
206  last = 0;
207  status = false;
208 }

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

Member Data Documentation

◆ active

Resources FastTimerService::ResourcesPerPath::active

Definition at line 278 of file FastTimerService.h.

◆ last

unsigned FastTimerService::ResourcesPerPath::last

Definition at line 280 of file FastTimerService.h.

◆ status

bool FastTimerService::ResourcesPerPath::status

◆ total

Resources FastTimerService::ResourcesPerPath::total

Definition at line 279 of file FastTimerService.h.

FastTimerService::ResourcesPerPath::status
bool status
Definition: FastTimerService.h:281
FastTimerService::ResourcesPerPath::active
Resources active
Definition: FastTimerService.h:278
FastTimerService::ResourcesPerPath::total
Resources total
Definition: FastTimerService.h:279
trackingPlots.other
other
Definition: trackingPlots.py:1467
FastTimerService::ResourcesPerPath::last
unsigned last
Definition: FastTimerService.h:280
FastTimerService::Resources::reset
void reset()
Definition: FastTimerService.cc:87
mps_fire.result
result
Definition: mps_fire.py:311