![]() |
Realm
A distributed, event-based tasking library
|
#include <sampling.h>
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 | |
| EventCounter (const std::string &_name, SamplingProfiler *_profiler=0) | |
| operator T (void) const | |
| EventCounter< T > & | operator+= (T to_add) |
Public Member Functions inherited from Realm::ProfilingGauges::Gauge | |
| Gauge (const std::string &_name) | |
| ~Gauge (void) | |
Static Public Attributes | |
| static const int | GAUGE_TYPE = GTYPE_EVENTCOUNT |
Protected Attributes | |
| atomic< T > | events |
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) |
| typedef T Realm::ProfilingGauges::EventCounter< T >::DATA_TYPE |
| Realm::ProfilingGauges::EventCounter< T >::EventCounter | ( | const std::string & | _name, |
| SamplingProfiler * | _profiler = 0 |
||
| ) |
| Realm::ProfilingGauges::EventCounter< T >::operator T | ( | void | ) | const |
| EventCounter< T > & Realm::ProfilingGauges::EventCounter< T >::operator+= | ( | T | to_add | ) |
|
friend |
|
protected |
|
static |