blob: 65949a0cc6bcef26586cd3a1db796a993d8f62b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright (c) 2008 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 BASE_SYS_INFO_H_
#define BASE_SYS_INFO_H_
namespace base {
class SysInfo {
public:
// Return the number of logical processors/cores on the current machine.
static int NumberOfProcessors();
};
} // namespace base
#endif // BASE_SYS_INFO_H_
|