diff options
author | fanquake <fanquake@gmail.com> | 2017-04-25 09:34:23 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2017-12-15 14:47:43 +0800 |
commit | 937bf4335bc58c443645dc29b8d7ceadc81e74e5 (patch) | |
tree | 16eef2cc06b1d9d4560f2c7937c18d80beacc714 /src/util.h | |
parent | c66adb286a89738a6a5218be2ecfea8e398878dd (diff) |
Use std::thread::hardware_concurrency, instead of Boost, to determine available cores
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h index 3cc4c26817..bef22f8eb2 100644 --- a/src/util.h +++ b/src/util.h @@ -295,9 +295,8 @@ std::string HelpMessageGroup(const std::string& message); std::string HelpMessageOpt(const std::string& option, const std::string& message); /** - * Return the number of physical cores available on the current system. - * @note This does not count virtual cores, such as those provided by HyperThreading - * when boost is newer than 1.56. + * Return the number of cores available on the current system. + * @note This does count virtual cores, such as those provided by HyperThreading. */ int GetNumCores(); |