chromium/components/system_cpu/core_times.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/system_cpu/core_times.h"

#include "base/check_op.h"

namespace system_cpu {

CoreTimes::CoreTimes(const std::initializer_list<uint64_t>& times) {}

void CoreTimes::set_user(uint64_t time) {}

void CoreTimes::set_nice(uint64_t time) {}

void CoreTimes::set_system(uint64_t time) {}

void CoreTimes::set_idle(uint64_t time) {}

void CoreTimes::set_iowait(uint64_t time) {}

void CoreTimes::set_irq(uint64_t time) {}

void CoreTimes::set_softirq(uint64_t time) {}

void CoreTimes::set_steal(uint64_t time) {}

void CoreTimes::set_guest(uint64_t time) {}

void CoreTimes::set_guest_nice(uint64_t time) {}

double CoreTimes::TimeUtilization(const CoreTimes& baseline) const {}

}  // namespace system_cpu