ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
stats_peer Struct Reference

When code needs to work with stats peer, it keeps scope, sampler, id here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields. More...

Data Fields

stats_scope_t * scope
stats_sampler_t * sampler
char transport [16]
uint64_t id

Detailed Description

When code needs to work with stats peer, it keeps scope, sampler, id here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields.

Definition at line 48 of file runtime.c.

Field Documentation

◆ id

uint64_t stats_peer::id

Definition at line 52 of file runtime.c.

Referenced by stats_runtime_peer_open().

◆ sampler

stats_sampler_t* stats_peer::sampler

Definition at line 50 of file runtime.c.

Referenced by stats_runtime_peer_close(), and stats_runtime_peer_open().

◆ scope

◆ transport

char stats_peer::transport[16]

Definition at line 51 of file runtime.c.

Referenced by stats_runtime_peer_open().


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