3.1.5 omp_get_num_procs Function
The omp_get_num_procs function returns the number of processors that are available to the program at the time the function is called. The format is as follows:
#include <omp.h>
int omp_get_num_procs(void);
Este browser já não é suportado.
Atualize para o Microsoft Edge para tirar partido das mais recentes funcionalidades, atualizações de segurança e de suporte técnico.
The omp_get_num_procs function returns the number of processors that are available to the program at the time the function is called. The format is as follows:
#include <omp.h>
int omp_get_num_procs(void);