Skip to content

Struct dp_tlm_stats_t

ClassList > dp_tlm_stats_t

Context-wide counters, snapshotted together. More...

  • #include <dp_tlm_core.h>

Public Attributes

Type Name
size_t capacity
uint64_t dropped
uint64_t emitted
size_t probes

Detailed Description

A by-value record rather than a dict so the whole thing crosses a language boundary as one value. Per-probe detail is not in here on purpose: it is dp_tlm_probe_name() + dp_tlm_emitted(), which stay the SSOT for it.

Public Attributes Documentation

variable capacity

size_t dp_tlm_stats_t::capacity;

Ring capacity in records.


variable dropped

uint64_t dp_tlm_stats_t::dropped;

Records lost to ring overrun (monotonic).


variable emitted

uint64_t dp_tlm_stats_t::emitted;

Records written, summed over every probe.


variable probes

size_t dp_tlm_stats_t::probes;

Registered probes.



The documentation for this class was generated from the following file native/inc/dp_tlm/dp_tlm_core.h