QtCraft API C++ classes QML types Handbook

QcRoundTripSummary Struct

The round trip of a connection as the debug display, the control interface and the health line show it (decision E-886), in milliseconds: the latest sample, the smoothed value (EWMA with 1/8 like TCP's SRTT), the smallest and largest sample and the jitter (mean difference between consecutive samples) over the window. More...

Header: #include <common/diagnostics/QcRoundTripStats.h>

Public Variables

double jitterMs
double lastMs
double maxMs
double minMs
double pendingMs
int samples
double smoothedMs

Static Public Members

QString text(double ms)

Detailed Description

Member Function Documentation

[static] QString QcRoundTripSummary::text(double ms)

Returns ms as the displays show them: one decimal below 10 ms, whole ones above.

Member Variable Documentation

double QcRoundTripSummary::jitterMs

The mean difference between consecutive samples in the window.

double QcRoundTripSummary::lastMs

The latest sample.

double QcRoundTripSummary::pendingMs

Age of a probe still waiting for its echo when it is older than the smoothed value, a lower bound of the current round trip that makes a stalled connection visible; 0 otherwise.

int QcRoundTripSummary::samples

Samples in the window.

double QcRoundTripSummary::smoothedMs

The smoothed value.