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

Unified Diff: remoting/proto/video_stats.proto

Issue 2176443002: Add client and host dispatchers for video_stats channel to send video stats from host to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple_channel
Patch Set: . Created 4 years, 5 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/proto/video_stats.proto
diff --git a/remoting/proto/video_stats.proto b/remoting/proto/video_stats.proto
new file mode 100644
index 0000000000000000000000000000000000000000..7d73e3d7377adb017b532dbf6822124260c6f3fe
--- /dev/null
+++ b/remoting/proto/video_stats.proto
@@ -0,0 +1,42 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Internal message types that should not be seen outside the protocol
+// directory.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package remoting;
+
+message FrameStatsMessage {
+ // Frame ID.
+ optional int32 frame_id = 1;
+
+ // Frame size.
+ optional int32 frame_size = 2;
+
+ // Id of the last event that was injected before this frame was captured.
+ optional int64 latest_event_timestamp = 3;
+
+ // Time from when the last event was injected until capturing has started.
+ optional int32 capture_pending_time_ms = 4;
+
+ // Time in milliseconds spent in capturing this video frame.
+ optional int32 capture_time_ms = 5;
+
+ // Total overhead time for IPC and threading when capturing frames.
+ optional int32 capture_overhead_time_ms = 6;
+
+ // Time between when the frame was captured and when encoding started.
+ optional int32 encode_pending_time_ms = 7;
+
+ // Time in milliseconds spent in encoding this video frame.
+ optional int32 encode_time_ms = 8;
+
+ // Time for which the frame is blocked until it's sent to the client.
+ optional int64 send_pending_time_ms = 9;
+}
+

Powered by Google App Engine
This is Rietveld 408576698