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 216 of file FastTimerService.cc.

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

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

◆ operator+=()

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

Definition at line 208 of file FastTimerService.cc.

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

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

◆ reset()

void FastTimerService::ResourcesPerPath::reset ( void  )

Definition at line 201 of file FastTimerService.cc.

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

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:1465
FastTimerService::ResourcesPerPath::last
unsigned last
Definition: FastTimerService.h:280
FastTimerService::Resources::reset
void reset()
Definition: FastTimerService.cc:85
mps_fire.result
result
Definition: mps_fire.py:303