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

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

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

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

References trackingPlots::other.

◆ operator+=() [2/2]

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

◆ reset()

void FastTimerService::Resources::reset ( void  )

Definition at line 88 of file FastTimerService.cc.

References SiPixelPI::zero.

Member Data Documentation

◆ allocated

uint64_t FastTimerService::Resources::allocated

Definition at line 231 of file FastTimerService.h.

◆ deallocated

uint64_t FastTimerService::Resources::deallocated

Definition at line 232 of file FastTimerService.h.

◆ time_real

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

Definition at line 230 of file FastTimerService.h.

◆ time_thread

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

Definition at line 229 of file FastTimerService.h.

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