DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
DetwsLatencyStat Struct Reference

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
 

Detailed Description

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.

Definition at line 138 of file clock.h.

Member Data Documentation

◆ count

uint32_t DetwsLatencyStat::count

Definition at line 140 of file clock.h.

Referenced by detws_lat_avg_us(), detws_lat_end(), and detws_lat_reset().

◆ over_budget

uint32_t DetwsLatencyStat::over_budget

samples whose latency exceeded the budget

Definition at line 141 of file clock.h.

Referenced by detws_lat_end(), and detws_lat_reset().

◆ min_us

uint32_t DetwsLatencyStat::min_us

Definition at line 142 of file clock.h.

Referenced by detws_lat_end(), and detws_lat_reset().

◆ max_us

uint32_t DetwsLatencyStat::max_us

Definition at line 143 of file clock.h.

Referenced by detws_lat_end(), and detws_lat_reset().

◆ sum_us

uint64_t DetwsLatencyStat::sum_us

Definition at line 144 of file clock.h.

Referenced by detws_lat_avg_us(), detws_lat_end(), and detws_lat_reset().


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