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

Unified Diff: remoting/protocol/capture_scheduler.h

Issue 1811833002: Show max latency on client's status bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: JS compiler fix and lld fix Created 4 years, 9 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 | « remoting/client/server_log_entry_client.cc ('k') | remoting/protocol/performance_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/capture_scheduler.h
diff --git a/remoting/protocol/capture_scheduler.h b/remoting/protocol/capture_scheduler.h
index 54e2229d8d55b52bb3f57d889eb8d296cec9e6d9..3f4369aea543bd320a289dac5e9da7f64e6d8ede 100644
--- a/remoting/protocol/capture_scheduler.h
+++ b/remoting/protocol/capture_scheduler.h
@@ -13,7 +13,7 @@
#include "base/time/tick_clock.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
-#include "remoting/base/running_average.h"
+#include "remoting/base/running_samples.h"
#include "remoting/protocol/video_feedback_stub.h"
namespace remoting {
@@ -88,8 +88,8 @@ class CaptureScheduler : public VideoFeedbackStub {
int num_of_processors_;
- RunningAverage capture_time_;
- RunningAverage encode_time_;
+ RunningSamples capture_time_;
+ RunningSamples encode_time_;
// Number of frames pending encoding.
int num_encoding_frames_;
« no previous file with comments | « remoting/client/server_log_entry_client.cc ('k') | remoting/protocol/performance_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698