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

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

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

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

94  {
95  time_thread += other.time_thread;
96  time_real += other.time_real;
97  allocated += other.allocated;
98  deallocated += other.deallocated;
99  return *this;
100 }

References trackingPlots::other.

◆ operator+=() [2/2]

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

◆ reset()

void FastTimerService::Resources::reset ( void  )

Definition at line 87 of file FastTimerService.cc.

References SiPixelPI::zero.

Member Data Documentation

◆ allocated

uint64_t FastTimerService::Resources::allocated

Definition at line 230 of file FastTimerService.h.

◆ deallocated

uint64_t FastTimerService::Resources::deallocated

Definition at line 231 of file FastTimerService.h.

◆ time_real

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

Definition at line 229 of file FastTimerService.h.

◆ time_thread

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

Definition at line 228 of file FastTimerService.h.

SiPixelPI::zero
Definition: SiPixelPayloadInspectorHelper.h:39
FastTimerService::Resources::time_thread
boost::chrono::nanoseconds time_thread
Definition: FastTimerService.h:228
FastTimerService::Resources::time_real
boost::chrono::nanoseconds time_real
Definition: FastTimerService.h:229
FastTimerService::Resources::allocated
uint64_t allocated
Definition: FastTimerService.h:230
trackingPlots.other
other
Definition: trackingPlots.py:1467
FastTimerService::Resources::Resources
Resources()
Definition: FastTimerService.cc:81
FastTimerService::Resources::deallocated
uint64_t deallocated
Definition: FastTimerService.h:231
mps_fire.result
result
Definition: mps_fire.py:311