| 2227 | } |
| 2228 | |
| 2229 | static QString formatFeedDeficit(double deficitMs) |
| 2230 | { |
| 2231 | if (std::abs(deficitMs) < 1.0) { |
| 2232 | return "On time"; |
| 2233 | } |
| 2234 | if (deficitMs < 0.0) { |
| 2235 | return QString("%1 ms ahead").arg(std::abs(deficitMs), 0, 'f', 1); |
| 2236 | } |
| 2237 | return QString("%1 ms behind").arg(deficitMs, 0, 'f', 1); |
| 2238 | } |
| 2239 | |
| 2240 | static QString formatLateArrivals(qint64 latePackets, double latePacketsPerSecond) |
| 2241 | { |
no outgoing calls
no test coverage detected