chromium/third_party/webrtc/rtc_base/rate_tracker.cc

/*
 *  Copyright 2015 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.
 */

#include "rtc_base/rate_tracker.h"

#include <algorithm>

#include "rtc_base/checks.h"
#include "rtc_base/time_utils.h"

namespace rtc {

static const int64_t kTimeUnset =;

RateTracker::RateTracker(int64_t bucket_milliseconds, size_t bucket_count)
    :{}

RateTracker::~RateTracker() {}

double RateTracker::ComputeRateForInterval(
    int64_t interval_milliseconds) const {}

double RateTracker::ComputeTotalRate() const {}

int64_t RateTracker::TotalSampleCount() const {}

void RateTracker::AddSamples(int64_t sample_count) {}

void RateTracker::AddSamplesAtTime(int64_t current_time_ms,
                                   int64_t sample_count) {}

int64_t RateTracker::Time() const {}

void RateTracker::EnsureInitialized() {}

size_t RateTracker::NextBucketIndex(size_t bucket_index) const {}

}  // namespace rtc