CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

FastTimerService::Resources::Resources ( )

Member Function Documentation

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

Definition at line 111 of file FastTimerService.cc.

References mps_fire::result.

111  {
112  Resources result(*this);
113  result += other;
114  return result;
115 }
tuple result
Definition: mps_fire.py:311
Resources FastTimerService::Resources::operator+ ( struct AtomicResources const &  other) const
FastTimerService::Resources & FastTimerService::Resources::operator+= ( Resources const &  other)

Definition at line 95 of file FastTimerService.cc.

References allocated, deallocated, time_real, and time_thread.

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 }
boost::chrono::nanoseconds time_real
boost::chrono::nanoseconds time_thread
Resources& FastTimerService::Resources::operator+= ( struct AtomicResources const &  other)
void FastTimerService::Resources::reset ( void  )

Member Data Documentation

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