#include <memory>
#include "base/time/time.h"
#include "media/base/audio_converter.h"
#include "media/base/fake_audio_render_callback.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
namespace media {
static const int kBenchmarkIterations = …;
class NullInputProvider : public AudioConverter::InputCallback { … };
void RunConvertBenchmark(const AudioParameters& in_params,
const AudioParameters& out_params,
bool fifo,
const std::string& trace_name) { … }
TEST(AudioConverterPerfTest, ConvertBenchmark) { … }
TEST(AudioConverterPerfTest, ConvertBenchmarkFIFO) { … }
}