summaryrefslogtreecommitdiffstats
path: root/remoting/proto
diff options
context:
space:
mode:
authorhclam@google.com <hclam@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-05 20:13:47 +0000
committerhclam@google.com <hclam@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-05 20:13:47 +0000
commit7f65131b89a9636a566b3b3280beab05a05c6699 (patch)
tree0bd0d00068d23e3e86388bdb1995af757474b968 /remoting/proto
parent27e7d3cd9507411ab96bf43d3e5dd6dada53e105 (diff)
downloadchromium_src-7f65131b89a9636a566b3b3280beab05a05c6699.zip
chromium_src-7f65131b89a9636a566b3b3280beab05a05c6699.tar.gz
chromium_src-7f65131b89a9636a566b3b3280beab05a05c6699.tar.bz2
Report capture and encode time for chromoting
Add hooks to record these numbers and report them in the client. BUG=None TEST=None Review URL: http://codereview.chromium.org/6767009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto')
-rw-r--r--remoting/proto/video.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 245db10..b9bd53c 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -85,4 +85,10 @@ message VideoPacket {
// TODO(hclam): Remove this field when we can obtain this information from
// libvpx.
repeated Rect dirty_rects = 6;
+
+ // Time in milliseconds spent in capturing this video frame.
+ optional int32 capture_time_ms = 7;
+
+ // Time in milliseconds spent in encoding this video frame.
+ optional int32 encode_time_ms = 8;
}