#include "media/audio/audio_device_stats_reporter.h"
#include "base/check.h"
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "base/metrics/histogram_base.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/strcat.h"
#include "base/time/time.h"
namespace media {
AudioDeviceStatsReporter::AudioDeviceStatsReporter(
const AudioParameters& params,
Type type)
: … { … }
void AudioDeviceStatsReporter::ReportCallback(
base::TimeDelta delay,
const media::AudioGlitchInfo& glitch_info) { … }
AudioDeviceStatsReporter::~AudioDeviceStatsReporter() { … }
void AudioDeviceStatsReporter::UploadStats(const Stats& stats,
SamplingPeriod sampling_period) { … }
AudioDeviceStatsReporter::AggregateLogCallback
AudioDeviceStatsReporter::CreateAggregateCallback(
const std::string& stat_name,
media::AudioLatency::Type latency,
int max_value,
size_t bucket_count,
Type type) { … }
AudioDeviceStatsReporter::RealtimeLogCallback
AudioDeviceStatsReporter::CreateRealtimeCallback(
const std::string& stat_name,
media::AudioLatency::Type latency,
int max_value,
size_t bucket_count,
Type type) { … }
}