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

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..1f5bce24c9e5c5e35096ea6b1d51dfab9f499f8d 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -1039,6 +1039,11 @@ void ChromotingInstance::UpdatePerfStatsInUI() {
data->SetDouble("decodeLatency", perf_tracker_.video_decode_ms());
data->SetDouble("renderLatency", perf_tracker_.video_paint_ms());
data->SetDouble("roundtripLatency", perf_tracker_.round_trip_ms());
+ data->SetDouble("maxCaptureLatency", perf_tracker_.max_video_capture_ms());
Yuwei 2016/03/18 01:46:20 Looks like there is no SetLong so I just use SetDo
+ data->SetDouble("maxEncodeLatency", perf_tracker_.max_video_encode_ms());
+ data->SetDouble("maxDecodeLatency", perf_tracker_.max_video_decode_ms());
+ data->SetDouble("maxRenderLatency", perf_tracker_.max_video_paint_ms());
+ data->SetDouble("maxRoundtripLatency", perf_tracker_.max_round_trip_ms());
PostLegacyJsonMessage("onPerfStats", std::move(data));
}

Powered by Google App Engine
This is Rietveld 408576698