| * Copyright 2008 The WebRTC Project Authors. All rights reserved. |
| * Use of this source code is governed by a BSD-style license |
| * that can be found in the LICENSE file in the root of the source |
| * tree. An additional intellectual property rights grant can be found |
| * in the file PATENTS. All contributing project authors may |
| * be found in the AUTHORS file in the root of the source tree. |
| #ifndef WEBRTC_BASE_SYSTEMINFO_H__ |
| #define WEBRTC_BASE_SYSTEMINFO_H__ |
| #include "webrtc/base/basictypes.h" |
| // The number of CPU Threads in the system. |
| // The number of CPU Threads currently available to this process. |
| Architecture GetCpuArchitecture(); |
| std::string GetCpuVendor(); |
| // Total amount of physical memory, in bytes. |
| // The model name of the machine, e.g. "MacBookAir1,1" |
| std::string GetMachineModel(); |
| static int logical_cpus_; |
| #endif // WEBRTC_BASE_SYSTEMINFO_H__ |