1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

added getNumberOfCPUs() function

This commit is contained in:
Vadim Pisarevsky
2011-08-02 12:42:58 +00:00
parent 6be846aa52
commit f0b3cb1845
2 changed files with 45 additions and 0 deletions
@@ -263,6 +263,9 @@ CV_EXPORTS_W int64 getCPUTickCount();
*/
CV_EXPORTS_W bool checkHardwareSupport(int feature);
//! returns the number of CPUs (including hyper-threading)
CV_EXPORTS_W int getNumberOfCPUs();
/*!
Allocates memory buffer