ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
stats_capabilities_t Struct Reference

stats descriptor is intentionally a small, concrete record. Fields such as name, unit, description give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed. More...

#include <include/ascii-chat/stats/stats.h>

Data Fields

bool counters [STATS_COUNTER_COUNT]
bool gauges [STATS_GAUGE_COUNT]
bool durations [STATS_DURATION_COUNT]

Detailed Description

stats descriptor is intentionally a small, concrete record. Fields such as name, unit, description give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed.

Definition at line 111 of file include/ascii-chat/stats/stats.h.

Field Documentation

◆ counters

bool stats_capabilities_t::counters[STATS_COUNTER_COUNT]

◆ durations

bool stats_capabilities_t::durations[STATS_DURATION_COUNT]

◆ gauges

bool stats_capabilities_t::gauges[STATS_GAUGE_COUNT]

Definition at line 113 of file include/ascii-chat/stats/stats.h.

Referenced by stats_gauge_set(), and stats_runtime_start().


The documentation for this struct was generated from the following file: