Name

OfxMultiThreadSuiteV1::multiThreadNumCPUs — Function which indicates the number of CPUs available for SMP processing

Synopsis

#include "ofxMultiThread.h" 
OfxStatus (*multiThreadNumCPUs) ( unsigned int * nCPUs ) ;
 

Arguments

  • nCPUs - pointer to an integer where the result is returned

Description

This value may be less than the actual number of CPUs on a machine, as the host may reserve other CPUs for itself.

Returns