chronon::observe::CounterRegistry
#include <CounterRegistry.hpp>
Public Classes
| Name | |
|---|---|
| struct | CounterKeyHash |
| struct | CounterKey |
Public Functions
| Name | |
|---|---|
| void | reregisterAll(const std::vector< std::unique_ptr< ObservationContext > > & contexts) |
| void | registerCounter(const std::string & unit_name, CounterId id, SimpleCounter * counter_ptr, const std::string & counter_name ="") |
| void | dumpSnapshots(uint64_t cycle, ObservationQueue * queue, const std::vector< std::unique_ptr< ObservationContext > > & contexts) |
| const std::vector< DerivedCounterDef > & | derivedDefs() const |
| void | clear() |
Public Functions Documentation
function reregisterAll
void reregisterAll(
const std::vector< std::unique_ptr< ObservationContext > > & contexts
)
function registerCounter
inline void registerCounter(
const std::string & unit_name,
CounterId id,
SimpleCounter * counter_ptr,
const std::string & counter_name =""
)
function dumpSnapshots
void dumpSnapshots(
uint64_t cycle,
ObservationQueue * queue,
const std::vector< std::unique_ptr< ObservationContext > > & contexts
)
function derivedDefs
inline const std::vector< DerivedCounterDef > & derivedDefs() const
function clear
inline void clear()
Updated on 2026-05-27 at 08:42:21 +0000