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_duration_shard_t Struct Reference

For stats duration cell, this is the live record that ties sequence, observations, total_ns, min_ns together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record. More...

Data Fields

_Atomic uint64_t owner
stats_duration_cell_t durations [STATS_DURATION_COUNT]

Detailed Description

For stats duration cell, this is the live record that ties sequence, observations, total_ns, min_ns together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record.

Definition at line 25 of file lib/stats/stats.c.

Field Documentation

◆ durations

stats_duration_cell_t stats_duration_shard_t::durations[STATS_DURATION_COUNT]

Definition at line 27 of file lib/stats/stats.c.

Referenced by stats_duration_record(), and stats_scope_snapshot().

◆ owner

_Atomic uint64_t stats_duration_shard_t::owner

Definition at line 26 of file lib/stats/stats.c.

Referenced by stats_scope_snapshot().


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