/* * Copyright (c) 2019 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef RTC_BASE_NUMERICS_SAMPLE_STATS_H_ #define RTC_BASE_NUMERICS_SAMPLE_STATS_H_ #include "api/numerics/samples_stats_counter.h" #include "api/units/data_rate.h" #include "api/units/time_delta.h" namespace webrtc { template <typename T> class SampleStats; // TODO(srte): Merge this implementation with SamplesStatsCounter. template <> class SampleStats<double> : public SamplesStatsCounter { … }; template <> class SampleStats<TimeDelta> { … }; template <> class SampleStats<DataRate> { … }; } // namespace webrtc #endif // RTC_BASE_NUMERICS_SAMPLE_STATS_H_