| Index: webrtc/video/stats_counter.cc
|
| diff --git a/webrtc/video/stats_counter.cc b/webrtc/video/stats_counter.cc
|
| index 9923ed20d7a2e2a25c6bcb078ea7a8b42e9190a2..b1c24ee67328745b54e5915301f6fc70d4118a81 100644
|
| --- a/webrtc/video/stats_counter.cc
|
| +++ b/webrtc/video/stats_counter.cc
|
| @@ -25,6 +25,15 @@ const int64_t kDefaultProcessIntervalMs = 2000;
|
| const uint32_t kStreamId0 = 0;
|
| } // namespace
|
|
|
| +std::string AggregatedStats::ToString() const {
|
| + std::stringstream ss;
|
| + ss << "periodic_samples:" << num_samples << ", {";
|
| + ss << "min:" << min << ", ";
|
| + ss << "avg:" << average << ", ";
|
| + ss << "max:" << max << "}";
|
| + return ss.str();
|
| +}
|
| +
|
| // Class holding periodically computed metrics.
|
| class AggregatedCounter {
|
| public:
|
|
|