OfxMultiThreadSuiteV1::multiThreadNumCPUs
— Function which indicates the number of CPUs available for SMP processing
#include "ofxMultiThread.h"
OfxStatus(*multiThreadNumCPUs)( | unsigned int *nCPUs) ; |
This value may be less than the actual number of CPUs on a machine, as the host may reserve other CPUs for itself.
kOfxStatOK
, all was OK and the maximum number of threads is in nThreads.kOfxStatFailed
, the function failed to get the number of CPUs