Index: src/platform.h |
diff --git a/src/platform.h b/src/platform.h |
index 2fa3561d7dea18f2b73df474a8c70e6c0fa47332..7d857cc0dfd8042a91dfd11c461edce3c80885e7 100644 |
--- a/src/platform.h |
+++ b/src/platform.h |
@@ -274,6 +274,9 @@ class OS { |
// positions indicated by the members of the CpuFeature enum from globals.h |
static unsigned CpuFeaturesImpliedByPlatform(); |
+ // Returns the number of processors online. |
+ static int NumberOfProcessorsOnline(); |
+ |
// The total amount of physical memory available on the current system. |
static uint64_t TotalPhysicalMemory(); |