config/linux/proc.c File Reference

#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)


Define Documentation

#define _GNU_SOURCE   1

Definition at line 30 of file proc.c.


Function Documentation

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   ) 

Definition at line 71 of file proc.c.

References gomp_global_icv, and gomp_task_icv::nthreads_var.

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:


Generated on Fri Apr 5 05:38:14 2013 for Libgomp by  doxygen 1.4.7