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

Unified Diff: remoting/client/chromoting_stats.cc

Issue 1181743005: Report video and network stats averaged over 1s, and create corresponding UMA metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update stats for software-renderer as well. Created 5 years, 6 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/chromoting_stats.cc
diff --git a/remoting/client/chromoting_stats.cc b/remoting/client/chromoting_stats.cc
index 71b7199ff5adca1f9222636bb5cc5fe79efedea8..4e0ba49a050a5ce82634da988121e5694e316223 100644
--- a/remoting/client/chromoting_stats.cc
+++ b/remoting/client/chromoting_stats.cc
@@ -7,7 +7,9 @@
namespace {
// The default window of bandwidth and frame rate in seconds.
-const int kTimeWindow = 3;
+// Set to 60s, so that we average at 60s intervals, same as the rate at which we
Sergey Ulanov 2015/06/19 23:08:42 Actually ChromotingInstance::SendPerfStats() is ca
anandc 2015/06/20 01:31:32 OK. Created rate counters for fps and bytes/sec, a
+// log stats.
+const int kTimeWindow = 60;
Sergey Ulanov 2015/06/19 23:08:42 I don't think we want to changed that - it's usefu
anandc 2015/06/20 01:31:32 Done.
// We take the last 10 latency numbers and report the average.
const int kLatencyWindow = 10;
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | remoting/client/plugin/pepper_video_renderer_3d.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698