chromium/base/system/sys_info_linux.cc

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

#include "base/system/sys_info.h"

#include <stddef.h>
#include <stdint.h>

#include <algorithm>
#include <limits>
#include <sstream>

#include "base/check.h"
#include "base/files/file_util.h"
#include "base/lazy_instance.h"
#include "base/notreached.h"
#include "base/numerics/safe_conversions.h"
#include "base/process/process_metrics.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/system/sys_info_internal.h"
#include "build/build_config.h"

namespace {

uint64_t AmountOfMemory(int pages_name) {}

uint64_t AmountOfPhysicalMemory() {}

base::LazyInstance<
    base::internal::LazySysInfoValue<uint64_t, AmountOfPhysicalMemory>>::Leaky
    g_lazy_physical_memory =;

}  // namespace

namespace base {

// static
uint64_t SysInfo::AmountOfPhysicalMemoryImpl() {}

// static
uint64_t SysInfo::AmountOfAvailablePhysicalMemoryImpl() {}

// static
uint64_t SysInfo::AmountOfAvailablePhysicalMemory(
    const SystemMemoryInfoKB& info) {}

// static
std::string SysInfo::CPUModelName() {}

#if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID)
// static
SysInfo::HardwareInfo SysInfo::GetHardwareInfoSync() {}
#endif

}  // namespace base