summaryrefslogtreecommitdiff
path: root/src/thread/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/thread.h')
-rw-r--r--src/thread/thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread/thread.h b/src/thread/thread.h
index 83eeb73eb..26d209d2a 100644
--- a/src/thread/thread.h
+++ b/src/thread/thread.h
@@ -88,4 +88,10 @@ public:
virtual void SendSignal() = 0;
};
+/**
+ * Get number of processor cores in the system, including HyperThreading or similar.
+ * @return Total number of processor cores.
+ */
+uint GetCPUCoreCount();
+
#endif /* THREAD_H */