OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // ChromotingStats defines a bundle of performance counters and statistics |
| 6 // for chromoting. |
| 7 |
| 8 #ifndef REMOTING_CLIENT_CHROMOTING_STATS_H_ |
| 9 #define REMOTING_CLIENT_CHROMOTING_STATS_H_ |
| 10 |
| 11 #include "remoting/base/running_average.h" |
| 12 |
| 13 namespace remoting { |
| 14 |
| 15 class ChromotingStats { |
| 16 public: |
| 17 ChromotingStats(); |
| 18 |
| 19 TimedRunningAverage* video_bandwidth() { return &video_bandwidth_; } |
| 20 |
| 21 private: |
| 22 TimedRunningAverage video_bandwidth_; |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(ChromotingStats); |
| 25 }; |
| 26 |
| 27 } // namespace remoting |
| 28 |
| 29 #endif // REMOTING_CLIENT_CHROMOTING_STATS_H_ |
OLD | NEW |