diff options
Diffstat (limited to 'src/mongo/util/processinfo_osx.cpp')
-rw-r--r-- | src/mongo/util/processinfo_osx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/processinfo_osx.cpp b/src/mongo/util/processinfo_osx.cpp index 475016de313..f244bea4da9 100644 --- a/src/mongo/util/processinfo_osx.cpp +++ b/src/mongo/util/processinfo_osx.cpp @@ -64,7 +64,7 @@ bool ProcessInfo::supported() { } // get the number of CPUs available to the scheduler -boost::optional<unsigned long> ProcessInfo::getNumAvailableCores() { +boost::optional<unsigned long> ProcessInfo::getNumCoresForProcess() { long nprocs = sysconf(_SC_NPROCESSORS_ONLN); if (nprocs) return nprocs; |