#include "libgomp.h"
#include <sched.h>
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for proc.c:
Go to the source code of this file.
Defines | |
#define | _GNU_SOURCE 1 |
Functions | |
void | gomp_init_num_threads (void) |
static int | get_num_procs (void) |
unsigned | gomp_dynamic_max_threads (void) |
int | omp_get_num_procs (void) |
static int get_num_procs | ( | void | ) | [static] |
Definition at line 91 of file proc.c.
References gomp_available_cpus, gomp_cpu_affinity, gomp_icv(), and gomp_task_icv::nthreads_var.
Here is the call graph for this function:
unsigned gomp_dynamic_max_threads | ( | void | ) |
Definition at line 132 of file proc.c.
References get_num_procs(), gomp_icv(), and gomp_task_icv::nthreads_var.
Here is the call graph for this function:
void gomp_init_num_threads | ( | void | ) |
int omp_get_num_procs | ( | void | ) |
Definition at line 159 of file proc.c.
References get_num_procs().
Here is the call graph for this function: