2011-11-08 08:44:17 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2011 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.
|
|
|
|
|
*/
|
|
|
|
|
|
2017-09-15 06:47:31 +02:00
|
|
|
#ifndef SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_
|
|
|
|
|
#define SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_
|
2011-11-08 08:44:17 +00:00
|
|
|
|
2018-07-25 16:05:48 +02:00
|
|
|
#include <stdint.h>
|
2011-11-08 08:44:17 +00:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
2012-11-21 08:02:57 +00:00
|
|
|
class CpuInfo {
|
|
|
|
|
public:
|
2013-04-09 09:06:11 +00:00
|
|
|
static uint32_t DetectNumberOfCores();
|
2012-11-21 08:02:57 +00:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
CpuInfo() {}
|
2011-11-08 08:44:17 +00:00
|
|
|
};
|
2012-11-21 08:02:57 +00:00
|
|
|
|
2013-07-03 15:12:26 +00:00
|
|
|
} // namespace webrtc
|
2012-11-21 08:02:57 +00:00
|
|
|
|
2017-11-08 12:26:07 +01:00
|
|
|
#endif // SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_
|