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

Side by Side Diff: remoting/webapp/base/js/session_logger.js

Issue 1817093005: Revert of 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 /** @suppress {duplicate} */ 6 /** @suppress {duplicate} */
7 var remoting = remoting || {}; 7 var remoting = remoting || {};
8 8
9 (function() { 9 (function() {
10 10
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 if (Boolean(perfStats)) { 284 if (Boolean(perfStats)) {
285 var entry = new remoting.ChromotingEvent( 285 var entry = new remoting.ChromotingEvent(
286 remoting.ChromotingEvent.Type.CONNECTION_STATISTICS); 286 remoting.ChromotingEvent.Type.CONNECTION_STATISTICS);
287 this.fillEvent_(entry); 287 this.fillEvent_(entry);
288 entry.video_bandwidth = perfStats.videoBandwidth; 288 entry.video_bandwidth = perfStats.videoBandwidth;
289 entry.capture_latency = perfStats.captureLatency; 289 entry.capture_latency = perfStats.captureLatency;
290 entry.encode_latency = perfStats.encodeLatency; 290 entry.encode_latency = perfStats.encodeLatency;
291 entry.decode_latency = perfStats.decodeLatency; 291 entry.decode_latency = perfStats.decodeLatency;
292 entry.render_latency = perfStats.renderLatency; 292 entry.render_latency = perfStats.renderLatency;
293 entry.roundtrip_latency = perfStats.roundtripLatency; 293 entry.roundtrip_latency = perfStats.roundtripLatency;
294 entry.max_capture_latency = perfStats.maxCaptureLatency;
295 entry.max_encode_latency = perfStats.maxEncodeLatency;
296 entry.max_decode_latency = perfStats.maxDecodeLatency;
297 entry.max_render_latency = perfStats.maxRenderLatency;
298 entry.max_roundtrip_latency = perfStats.maxRoundtripLatency;
299 return entry; 294 return entry;
300 } 295 }
301 return null; 296 return null;
302 }; 297 };
303 298
304 /** 299 /**
305 * Moves connection statistics from the accumulator to the log server. 300 * Moves connection statistics from the accumulator to the log server.
306 * 301 *
307 * If all the statistics are zero, then the accumulator is still emptied, 302 * If all the statistics are zero, then the accumulator is still emptied,
308 * but the statistics are not sent to the log server. 303 * but the statistics are not sent to the log server.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 } 461 }
467 462
468 // The maximum age of a session ID, in milliseconds. 463 // The maximum age of a session ID, in milliseconds.
469 remoting.SessionLogger.MAX_SESSION_ID_AGE = 24 * 60 * 60 * 1000; 464 remoting.SessionLogger.MAX_SESSION_ID_AGE = 24 * 60 * 60 * 1000;
470 465
471 // The time over which to accumulate connection statistics before logging them 466 // The time over which to accumulate connection statistics before logging them
472 // to the server, in milliseconds. 467 // to the server, in milliseconds.
473 remoting.SessionLogger.CONNECTION_STATS_ACCUMULATE_TIME = 60 * 1000; 468 remoting.SessionLogger.CONNECTION_STATS_ACCUMULATE_TIME = 60 * 1000;
474 469
475 })(); 470 })();
OLDNEW
« no previous file with comments | « remoting/webapp/base/js/connection_stats.js ('k') | remoting/webapp/base/js/stats_accumulator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698