testsuite/libgomp.c/appendix-a/a.18.1.c File Reference

#include <omp.h>
#include <stdio.h>

Include dependency graph for a.18.1.c:

Go to the source code of this file.

Defines

#define NUMBER_OF_THREADS   4

Functions

void abort (void)
int fn1 (int i)
int fn2 (int a, int b)
int main ()

Variables

int synch [NUMBER_OF_THREADS]
int work [NUMBER_OF_THREADS]
int result [NUMBER_OF_THREADS]


Define Documentation

#define NUMBER_OF_THREADS   4

Definition at line 8 of file a.18.1.c.

Referenced by main().


Function Documentation

void abort ( void   ) 

Referenced by __attribute__(), a36(), baz(), check(), f0(), f1(), f10(), f2(), f3(), f4(), f5(), f6(), f7(), f8(), f9(), foo(), GOMP_loop_ordered_runtime_next(), GOMP_loop_ordered_runtime_start(), GOMP_loop_runtime_next(), GOMP_loop_runtime_start(), GOMP_loop_ull_ordered_runtime_next(), GOMP_loop_ull_ordered_runtime_start(), GOMP_loop_ull_runtime_next(), GOMP_loop_ull_runtime_start(), main(), main1(), parallel(), parloop(), single(), test(), test1(), test10(), test11(), test12(), test13(), test14(), test15(), test16(), test2(), test3(), test4(), test5(), test6(), test7(), test8(), test9(), and tf().

Here is the caller graph for this function:

int fn1 ( int  i  ) 

Definition at line 14 of file a.18.1.c.

Referenced by main().

Here is the caller graph for this function:

int fn2 ( int  a,
int  b 
)

Definition at line 20 of file a.18.1.c.

Referenced by main().

Here is the caller graph for this function:

int main ( void   ) 

Definition at line 26 of file a.18.1.c.

References abort(), fn1(), fn2(), i, NUMBER_OF_THREADS, omp_get_num_threads(), omp_get_thread_num(), omp_set_num_threads(), result, synch, and work.

Here is the call graph for this function:


Variable Documentation

int result[NUMBER_OF_THREADS]

Definition at line 12 of file a.18.1.c.

Referenced by main().

int synch[NUMBER_OF_THREADS]

Definition at line 10 of file a.18.1.c.

Referenced by main().

int work[NUMBER_OF_THREADS]

Definition at line 11 of file a.18.1.c.

Referenced by a21(), main(), and sub3().


Generated on Fri Apr 5 05:40:44 2013 for Libgomp by  doxygen 1.4.7