summaryrefslogtreecommitdiffstats
path: root/remoting/client/plugin/chromoting_scriptable_object.h
diff options
context:
space:
mode:
authorhclam@google.com <hclam@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-05 20:12:49 +0000
committerhclam@google.com <hclam@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-05 20:12:49 +0000
commit27e7d3cd9507411ab96bf43d3e5dd6dada53e105 (patch)
treea5243cc3548f9bde4f887dd0dfc6bf049fed2cbf /remoting/client/plugin/chromoting_scriptable_object.h
parentd20348675866d9a0369dc5a196d2a26399e402c9 (diff)
downloadchromium_src-27e7d3cd9507411ab96bf43d3e5dd6dada53e105.zip
chromium_src-27e7d3cd9507411ab96bf43d3e5dd6dada53e105.tar.gz
chromium_src-27e7d3cd9507411ab96bf43d3e5dd6dada53e105.tar.bz2
Report decode and render latency for Chromoting
Uses RunningAverage to record these numbers, added JS interface for reporting. BUG=None TEST=None Review URL: http://codereview.chromium.org/6767002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/plugin/chromoting_scriptable_object.h')
-rw-r--r--remoting/client/plugin/chromoting_scriptable_object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/client/plugin/chromoting_scriptable_object.h b/remoting/client/plugin/chromoting_scriptable_object.h
index 399fb6d..d98f37c 100644
--- a/remoting/client/plugin/chromoting_scriptable_object.h
+++ b/remoting/client/plugin/chromoting_scriptable_object.h
@@ -17,6 +17,10 @@
// // Statistics.
// // Video Bandwidth in bytes per second.
// readonly attribute float videoBandwidth;
+// // Latency for video decoding.
+// readonly attribute int videoDecodeLatency;
+// // Latency for rendering.
+// readonly attribute int videoRenderLatency;
//
// // Constants for connection status.
// const unsigned short STATUS_UNKNOWN = 0;