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

Unified Diff: remoting/client/chromoting_client.cc

Issue 8310001: Show framerate in chromoting debug log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops.. compile error. Created 9 years, 2 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
« no previous file with comments | « no previous file | remoting/client/chromoting_stats.h » ('j') | remoting/client/chromoting_stats.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 7251bd64b62b6f23ee8a4b33927398538af2f8ee..3ed67c382061b120a90389dad3ef66cb07c2c8eb 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -103,6 +103,9 @@ void ChromotingClient::ProcessVideoPacket(const VideoPacket* packet,
// Record size of the packet for statistics.
stats_.video_bandwidth()->Record(packet->data().size());
+ // Add one frame to the counter.
Wez 2011/10/21 18:01:43 nit: Could fold this text into the previous commen
+ stats_.video_frame_rate()->Record(1);
+
// Record statistics received from host.
if (packet->has_capture_time_ms())
stats_.video_capture_ms()->Record(packet->capture_time_ms());
« no previous file with comments | « no previous file | remoting/client/chromoting_stats.h » ('j') | remoting/client/chromoting_stats.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698