CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
FastTimerService::Resources Struct Reference

Public Member Functions

Resources operator+ (Resources const &other) const
 
Resources operator+ (struct AtomicResources const &other) const
 
Resourcesoperator+= (Resources const &other)
 
Resourcesoperator+= (struct AtomicResources const &other)
 
void reset ()
 
 Resources ()
 

Public Attributes

uint64_t allocated
 
uint64_t deallocated
 
boost::chrono::nanoseconds time_real
 
boost::chrono::nanoseconds time_thread
 

Detailed Description

Definition at line 223 of file FastTimerService.h.

Constructor & Destructor Documentation

◆ Resources()

FastTimerService::Resources::Resources ( )

Member Function Documentation

◆ operator+() [1/2]

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

Definition at line 112 of file FastTimerService.cc.

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

112  {
113  Resources result(*this);
114  result += other;
115  return result;
116 }

◆ operator+() [2/2]

Resources FastTimerService::Resources::operator+ ( struct AtomicResources const &  other) const

◆ operator+=() [1/2]

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

Definition at line 96 of file FastTimerService.cc.

References trackingPlots::other.

96  {
97  time_thread += other.time_thread;
98  time_real += other.time_real;
99  allocated += other.allocated;
100  deallocated += other.deallocated;
101  return *this;
102 }
boost::chrono::nanoseconds time_real
boost::chrono::nanoseconds time_thread

◆ operator+=() [2/2]

Resources& FastTimerService::Resources::operator+= ( struct AtomicResources const &  other)

◆ reset()

void FastTimerService::Resources::reset ( void  )

Member Data Documentation

◆ allocated

uint64_t FastTimerService::Resources::allocated

Definition at line 236 of file FastTimerService.h.

◆ deallocated

uint64_t FastTimerService::Resources::deallocated

Definition at line 237 of file FastTimerService.h.

◆ time_real

boost::chrono::nanoseconds FastTimerService::Resources::time_real

Definition at line 235 of file FastTimerService.h.

◆ time_thread

boost::chrono::nanoseconds FastTimerService::Resources::time_thread

Definition at line 234 of file FastTimerService.h.