Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::ProfilingGauges::AbsoluteGauge< T > Class Template Reference

#include <sampling.h>

Inheritance diagram for Realm::ProfilingGauges::AbsoluteGauge< T >:
[legend]
Collaboration diagram for Realm::ProfilingGauges::AbsoluteGauge< T >:
[legend]

Classes

struct  Sample

Public Types

typedef T DATA_TYPE
Public Types inherited from Realm::ProfilingGauges::Gauge
enum  GaugeType { GTYPE_UNKNOWN = 0 , GTYPE_ABSOLUTE = 1 , GTYPE_ABSOLUTERANGE = 2 , GTYPE_EVENTCOUNT = 3 }

Public Member Functions

 AbsoluteGauge (const std::string &_name, T initval=T(), SamplingProfiler *_profiler=0)
AbsoluteGauge< T > & operator= (const AbsoluteGauge< T > &copy_from)
 operator T (void) const
AbsoluteGauge< T > & operator= (T to_set)
AbsoluteGauge< T > & operator+= (T to_add)
AbsoluteGauge< T > & operator-= (T to_sub)
Public Member Functions inherited from Realm::ProfilingGauges::Gauge
 Gauge (const std::string &_name)
 ~Gauge (void)

Static Public Attributes

static const int GAUGE_TYPE = GTYPE_ABSOLUTE

Protected Attributes

atomic< T > curval
Protected Attributes inherited from Realm::ProfilingGauges::Gauge
GaugeSampler * sampler

Friends

class Realm::GaugeSampler

Additional Inherited Members

Static Public Member Functions inherited from Realm::ProfilingGauges::Gauge
static size_t instantiate_templates (void)
Public Attributes inherited from Realm::ProfilingGauges::Gauge
const std::string name
Protected Member Functions inherited from Realm::ProfilingGauges::Gauge
void remove_gauge (void)
Static Protected Member Functions inherited from Realm::ProfilingGauges::Gauge
template<typename T>
static void add_gauge (T *gauge, SamplingProfiler *_profiler)

Member Typedef Documentation

◆ DATA_TYPE

template<typename T>
typedef T Realm::ProfilingGauges::AbsoluteGauge< T >::DATA_TYPE

Constructor & Destructor Documentation

◆ AbsoluteGauge()

template<typename T>
Realm::ProfilingGauges::AbsoluteGauge< T >::AbsoluteGauge ( const std::string & _name,
T initval = T(),
SamplingProfiler * _profiler = 0 )

Member Function Documentation

◆ operator T()

template<typename T>
Realm::ProfilingGauges::AbsoluteGauge< T >::operator T ( void ) const

◆ operator+=()

template<typename T>
AbsoluteGauge< T > & Realm::ProfilingGauges::AbsoluteGauge< T >::operator+= ( T to_add)

◆ operator-=()

template<typename T>
AbsoluteGauge< T > & Realm::ProfilingGauges::AbsoluteGauge< T >::operator-= ( T to_sub)

◆ operator=() [1/2]

template<typename T>
AbsoluteGauge< T > & Realm::ProfilingGauges::AbsoluteGauge< T >::operator= ( const AbsoluteGauge< T > & copy_from)

◆ operator=() [2/2]

template<typename T>
AbsoluteGauge< T > & Realm::ProfilingGauges::AbsoluteGauge< T >::operator= ( T to_set)

◆ Realm::GaugeSampler

template<typename T>
friend class Realm::GaugeSampler
friend

Member Data Documentation

◆ curval

template<typename T>
atomic<T> Realm::ProfilingGauges::AbsoluteGauge< T >::curval
protected

◆ GAUGE_TYPE

template<typename T>
const int Realm::ProfilingGauges::AbsoluteGauge< T >::GAUGE_TYPE = GTYPE_ABSOLUTE
static

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/sampling.h