chromium/components/performance_manager/resource_attribution/cpu_proportion_tracker.cc

// Copyright 2023 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/performance_manager/public/resource_attribution/cpu_proportion_tracker.h"

#include <algorithm>
#include <utility>

#include "base/check.h"
#include "base/functional/callback.h"

namespace resource_attribution {

CPUProportionTracker::CPUProportionTracker(
    ContextFilterCallback context_filter,
    CPUProportionType cpu_proportion_type)
    :{}

CPUProportionTracker::~CPUProportionTracker() = default;

void CPUProportionTracker::StartFirstInterval(base::TimeTicks time,
                                              const QueryResultMap& results) {}

std::map<ResourceContext, double> CPUProportionTracker::StartNextInterval(
    base::TimeTicks time,
    const QueryResultMap& results) {}

void CPUProportionTracker::Stop() {}

bool CPUProportionTracker::IsTracking() const {}

base::TimeDelta CPUProportionTracker::GetCumulativeCPU(
    const CPUTimeResult& cpu_time_result) const {}

}  // namespace resource_attribution