chromium/components/optimization_guide/core/noisy_metrics_recorder.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/optimization_guide/core/noisy_metrics_recorder.h"

#include <cmath>

#include "base/check_op.h"
#include "base/logging.h"
#include "base/rand_util.h"

NoisyMetricsRecorder::NoisyMetricsRecorder() = default;
NoisyMetricsRecorder::~NoisyMetricsRecorder() = default;

uint32_t NoisyMetricsRecorder::GetNoisyMetric(float flip_probability,
                                              uint32_t original_metric,
                                              uint8_t count_bits) {}

float NoisyMetricsRecorder::GetRandBetween0And1() const {}

int NoisyMetricsRecorder::GetRandEither0Or1() const {}