LibQuicR
quicr::QuicMetricsSample Struct Reference

One sample period's metrics for a connection and the streams on it. More...

#include <metrics.h>

Classes

struct  Stream
 A single stream's part of the period. More...
 

Public Attributes

QuicConnectionMetrics connection
 Connection-level metrics for the sample period. More...
 
std::vector< Stream > streams
 Metrics for streams active or closed during the sample period. More...
 

Detailed Description

One sample period's metrics for a connection and the streams on it.

Sampling takes the values away from the live counters rather than reading them in place, so the sample can be assembled on the thread that writes those counters and handed to whichever thread reports it.

Member Data Documentation

◆ connection

QuicConnectionMetrics quicr::QuicMetricsSample::connection

Connection-level metrics for the sample period.

◆ streams

std::vector<Stream> quicr::QuicMetricsSample::streams

Metrics for streams active or closed during the sample period.


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