NewtonGetThreadsCount
NewtonGetThreadsCount
int NewtonGetThreadsCount(const NewtonWorld* const newtonWorld)
Usage
Return the number of threads currently used by the engine.
Parameters
- const NewtonWorld* newtonWorld - pointer to the world for which the number of threads is queried.
Return
- The number of threads used by Newton.
Description
Gets the number of threads used for calculating the physics when an update is invoked for the world.
Remarks
Added since Newton 2.0
See also
NewtonSetThreadsCount NewtonSetMultiThreadSolverOnSingleIsland