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

Member Function Documentation

◆ operator+()

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

Definition at line 220 of file FastTimerService.cc.

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

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

◆ operator+=()

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

Definition at line 212 of file FastTimerService.cc.

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

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

◆ reset()

void FastTimerService::ResourcesPerPath::reset ( void  )

Member Data Documentation

◆ active

Resources FastTimerService::ResourcesPerPath::active

Definition at line 283 of file FastTimerService.h.

◆ last

unsigned FastTimerService::ResourcesPerPath::last

Definition at line 285 of file FastTimerService.h.

◆ status

bool FastTimerService::ResourcesPerPath::status

◆ total

Resources FastTimerService::ResourcesPerPath::total

Definition at line 284 of file FastTimerService.h.