|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
Rolling latency statistics in microseconds: sample count, min / max / mean, and how many samples blew a budget. Fixed size, no heap; a subsystem (the preempting queue, a DMA path, a forwarding rule) keeps one and reports it for real-time visibility. More...
#include <clock.h>
Public Attributes | |
| uint32_t | count |
| uint32_t | over_budget |
| samples whose latency exceeded the budget | |
| uint32_t | min_us |
| uint32_t | max_us |
| uint64_t | sum_us |
Rolling latency statistics in microseconds: sample count, min / max / mean, and how many samples blew a budget. Fixed size, no heap; a subsystem (the preempting queue, a DMA path, a forwarding rule) keeps one and reports it for real-time visibility.
| uint32_t pc_latency_stat::count |
Definition at line 174 of file clock.h.
Referenced by pc_lat_avg_us(), pc_lat_end(), and pc_lat_reset().
| uint32_t pc_latency_stat::over_budget |
samples whose latency exceeded the budget
Definition at line 175 of file clock.h.
Referenced by pc_lat_end(), and pc_lat_reset().
| uint32_t pc_latency_stat::min_us |
Definition at line 176 of file clock.h.
Referenced by pc_lat_end(), and pc_lat_reset().
| uint32_t pc_latency_stat::max_us |
Definition at line 177 of file clock.h.
Referenced by pc_lat_end(), and pc_lat_reset().
| uint64_t pc_latency_stat::sum_us |
Definition at line 178 of file clock.h.
Referenced by pc_lat_avg_us(), pc_lat_end(), and pc_lat_reset().