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

Member Function Documentation

◆ operator+()

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

Definition at line 219 of file FastTimerService.cc.

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

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

◆ operator+=()

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

Definition at line 211 of file FastTimerService.cc.

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 }

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

◆ reset()

void FastTimerService::ResourcesPerPath::reset ( void  )

Definition at line 204 of file FastTimerService.cc.

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

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

Member Data Documentation

◆ active

Resources FastTimerService::ResourcesPerPath::active

Definition at line 279 of file FastTimerService.h.

◆ last

unsigned FastTimerService::ResourcesPerPath::last

Definition at line 281 of file FastTimerService.h.

◆ status

bool FastTimerService::ResourcesPerPath::status

◆ total

Resources FastTimerService::ResourcesPerPath::total

Definition at line 280 of file FastTimerService.h.

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