omp_get_num_procs
int omp_get_num_procs(void)
This function returns the maximum number of processors that could be assigned to the program.
OpenMP API Index