blob: 904e56884812c99b63b70da16d6edc46d66944a0 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UTIL_SYS_INFO_H_
#define UTIL_SYS_INFO_H_
#include <string>
bool IsLongPathsSupportEnabled();
std::string OperatingSystemArchitecture();
int NumberOfProcessors();
// Returns the number of high-performance processors on the system.
// currently only implemented on macOS.
// On other platforms, returns NumberOfProcessors().
int NumberOfPerformanceProcessors();
#endif // UTIL_SYS_INFO_H_