Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1108)

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 1811833002: Show max latency on client's status bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index e0ca0d5b045568f7917c59bf237c27d80253d890..d2145e7cfc0368d88d6578b263895ee8d764ac84 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -1039,6 +1039,7 @@ void ChromotingInstance::UpdatePerfStatsInUI() {
data->SetDouble("decodeLatency", perf_tracker_.video_decode_ms());
data->SetDouble("renderLatency", perf_tracker_.video_paint_ms());
Sergey Ulanov 2016/03/17 19:12:37 I think ideally we want to have max values for al
Yuwei 2016/03/17 20:24:44 so we will have *Latency for average latency and m
Yuwei 2016/03/17 22:00:38 We can have max values for all latencies but we pr
data->SetDouble("roundtripLatency", perf_tracker_.round_trip_ms());
+ data->SetDouble("maxRoundtripLatency", perf_tracker_.max_round_trip_ms());
PostLegacyJsonMessage("onPerfStats", std::move(data));
}

Powered by Google App Engine
This is Rietveld 408576698