#include "modules/audio_coding/neteq/expand_uma_logger.h"
#include "absl/strings/string_view.h"
#include "rtc_base/checks.h"
#include "system_wrappers/include/metrics.h"
namespace webrtc {
namespace {
std::unique_ptr<TickTimer::Countdown> GetNewCountdown(
const TickTimer& tick_timer,
int logging_period_s) { … }
}
ExpandUmaLogger::ExpandUmaLogger(absl::string_view uma_name,
int logging_period_s,
const TickTimer* tick_timer)
: … { … }
ExpandUmaLogger::~ExpandUmaLogger() = default;
void ExpandUmaLogger::UpdateSampleCounter(uint64_t samples,
int sample_rate_hz) { … }
}