chromium/components/system_cpu/procfs_stat_cpu_parser.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/system_cpu/procfs_stat_cpu_parser.h"

#include <stdint.h>

#include <limits>
#include <string_view>
#include <utility>
#include <vector>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/sequence_checker.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/system/sys_info.h"

namespace system_cpu {

constexpr base::FilePath::CharType ProcfsStatCpuParser::kProcfsStatPath[];

ProcfsStatCpuParser::ProcfsStatCpuParser(base::FilePath stat_path)
    :{}

ProcfsStatCpuParser::~ProcfsStatCpuParser() {}

bool ProcfsStatCpuParser::Update() {}

// static
int ProcfsStatCpuParser::CoreIdFromLine(std::string_view stat_line) {}

// static
void ProcfsStatCpuParser::UpdateCore(std::string_view core_line,
                                     CoreTimes& core_times) {}

}  // namespace system_cpu