QcListedLatency Struct
The round trip as the player list carries it (decision E-886), in microseconds; negative while unknown. More...
| Header: | #include <common/diagnostics/QcRoundTripStats.h> |
Static Public Members
| int | bars(qint32 latencyUs) |
| bool | changed(qint32 listedUs, qint32 reportedUs) |
| qint32 | quantizedUs(double ms) |
Detailed Description
The client reports it at display resolution, the server lists a new value only when it shows: so the list does not go out again for noise.
Member Function Documentation
[static] int QcListedLatency::bars(qint32 latencyUs)
Returns the signal bars of latencyUs as in the reference: 5 below 150 ms, 4 below 300, 3 below 600, 2 below 1000, else 1; 0 while unknown.
[static] bool QcListedLatency::changed(qint32 listedUs, qint32 reportedUs)
Returns whether reportedUs differs visibly from the listed listedUs: by at least 1 ms and 10 % of the listed value, by a signal bar, or between unknown and known.
[static] qint32 QcListedLatency::quantizedUs(double ms)
Returns ms rounded to what the displays show (QcRoundTripSummary::text): 0.1 ms below 10 ms, whole milliseconds above, at most QcMsg::LatencyProbe::maxReportedUs.