summaryrefslogtreecommitdiffstats
path: root/remoting/client/plugin
diff options
context:
space:
mode:
authornewt <newt@chromium.org>2016-03-22 19:56:33 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-23 02:58:42 +0000
commit53300ca20e00981cc46a30395a635246d154ddd3 (patch)
tree625a9c68ea0ff3c2d4fc7adf167f3b610057840c /remoting/client/plugin
parent24994728bb74a3ef84b84db0c6d9f45e5d410274 (diff)
downloadchromium_src-53300ca20e00981cc46a30395a635246d154ddd3.zip
chromium_src-53300ca20e00981cc46a30395a635246d154ddd3.tar.gz
chromium_src-53300ca20e00981cc46a30395a635246d154ddd3.tar.bz2
Revert of Show max latency on client's status bar (patchset #8 id:140001 of https://codereview.chromium.org/1811833002/ )
Reason for revert: Caused compile failure on 64-bit Android bots. See crbug.com/597155 Original issue's description: > Show max latency on client's status bar > > Will later also consider storing max latency data in server > > BUG=560950 > > Committed: https://crrev.com/e37a467453f3814a9ecb0eb6769bd7c58b61cbae > Cr-Commit-Position: refs/heads/master@{#382663} TBR=sergeyu@chromium.org,kelvinp@chromium.org,dbeam@chromium.org,yuweih@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=560950 Review URL: https://codereview.chromium.org/1817093005 Cr-Commit-Position: refs/heads/master@{#382777}
Diffstat (limited to 'remoting/client/plugin')
-rw-r--r--remoting/client/plugin/chromoting_instance.cc15
1 files changed, 5 insertions, 10 deletions
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index a7c5601..e0ca0d5 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -1034,16 +1034,11 @@ void ChromotingInstance::UpdatePerfStatsInUI() {
scoped_ptr<base::DictionaryValue> data(new base::DictionaryValue());
data->SetDouble("videoBandwidth", perf_tracker_.video_bandwidth());
data->SetDouble("videoFrameRate", perf_tracker_.video_frame_rate());
- data->SetDouble("captureLatency", perf_tracker_.video_capture_ms().Average());
- data->SetDouble("maxCaptureLatency", perf_tracker_.video_capture_ms().Max());
- data->SetDouble("encodeLatency", perf_tracker_.video_encode_ms().Average());
- data->SetDouble("maxEncodeLatency", perf_tracker_.video_encode_ms().Max());
- data->SetDouble("decodeLatency", perf_tracker_.video_decode_ms().Average());
- data->SetDouble("maxDecodeLatency", perf_tracker_.video_decode_ms().Max());
- data->SetDouble("renderLatency", perf_tracker_.video_paint_ms().Average());
- data->SetDouble("maxRenderLatency", perf_tracker_.video_paint_ms().Max());
- data->SetDouble("roundtripLatency", perf_tracker_.round_trip_ms().Average());
- data->SetDouble("maxRoundtripLatency", perf_tracker_.round_trip_ms().Max());
+ data->SetDouble("captureLatency", perf_tracker_.video_capture_ms());
+ data->SetDouble("encodeLatency", perf_tracker_.video_encode_ms());
+ data->SetDouble("decodeLatency", perf_tracker_.video_decode_ms());
+ data->SetDouble("renderLatency", perf_tracker_.video_paint_ms());
+ data->SetDouble("roundtripLatency", perf_tracker_.round_trip_ms());
PostLegacyJsonMessage("onPerfStats", std::move(data));
}