Function pinocchio::getOpenMPNumThreadsEnv

Function Documentation

inline int pinocchio::getOpenMPNumThreadsEnv()

Returns the number of thread defined by the environment variable OMP_NUM_THREADS. If this variable is not defined, this simply returns the default value 1.