kmp_stub.c File Reference

#include "kmp_stub.h"
#include <stdlib.h>
#include <limits.h>
#include <errno.h>
#include "kmp_os.h"
#include <sys/time.h>
#include "kmp.h"
#include "kmp_version.h"
#include "omp.h"

Go to the source code of this file.

Defines

#define i   __kmps_init();

Functions

int __kmps_get_blocktime (void)
int __kmps_get_dynamic (void)
int __kmps_get_library (void)
int __kmps_get_nested (void)
int __kmps_get_stacksize (void)
double __kmps_get_wtick (void)
double __kmps_get_wtime (void)
static size_t __kmps_init ()
void __kmps_set_blocktime (int arg)
void __kmps_set_dynamic (int arg)
void __kmps_set_library (int arg)
void __kmps_set_nested (int arg)
void __kmps_set_stacksize (int arg)
void * kmp_calloc (size_t nelem, size_t elsize)
void kmp_free (void *ptr)
void * kmp_malloc (size_t size)
void * kmp_realloc (void *ptr, size_t size)
void kmp_set_blocktime (omp_int_t arg)
void kmp_set_defaults (char const *str)
void kmp_set_library (omp_int_t arg)
void kmp_set_stacksize (omp_int_t arg)
void kmp_set_stacksize_s (size_t arg)
void omp_set_dynamic (omp_int_t dynamic)
void omp_set_nested (omp_int_t nested)
void omp_set_num_threads (omp_int_t num_threads)

Variables

static int __kmps_blocktime = INT_MAX
static int __kmps_dynamic = 0
static int __kmps_library = 1000
static int __kmps_nested = 0
static size_t __kmps_stacksize = KMP_DEFAULT_STKSIZE
static double frequency = 0.0

Define Documentation

#define i   __kmps_init();

Function Documentation

int __kmps_get_blocktime ( void   ) 

Definition at line 136 of file kmp_stub.c.

References i.

Referenced by FTN_GET_BLOCKTIME().

int __kmps_get_dynamic ( void   ) 

Definition at line 148 of file kmp_stub.c.

References i.

Referenced by FTN_GET_DYNAMIC().

int __kmps_get_library ( void   ) 

Definition at line 160 of file kmp_stub.c.

References i.

int __kmps_get_nested ( void   ) 

Definition at line 172 of file kmp_stub.c.

References i.

Referenced by FTN_GET_NESTED().

int __kmps_get_stacksize ( void   ) 

Definition at line 184 of file kmp_stub.c.

References i.

Referenced by FTN_GET_STACKSIZE(), and FTN_GET_STACKSIZE_S().

double __kmps_get_wtick ( void   ) 

Definition at line 250 of file kmp_stub.c.

References i.

Referenced by FTN_GET_WTICK().

double __kmps_get_wtime ( void   ) 

Definition at line 224 of file kmp_stub.c.

References frequency, i, and status.

Referenced by FTN_GET_WTIME().

static size_t __kmps_init (  )  [static]

Definition at line 70 of file kmp_stub.c.

References __kmp_version_build_time, __kmp_version_copyright, frequency, and status.

void __kmps_set_blocktime ( int  arg  ) 

Definition at line 131 of file kmp_stub.c.

References i.

Referenced by FTN_SET_BLOCKTIME(), and kmp_set_blocktime().

void __kmps_set_dynamic ( int  arg  ) 

Definition at line 143 of file kmp_stub.c.

References i.

Referenced by FTN_SET_DYNAMIC(), and omp_set_dynamic().

void __kmps_set_library ( int  arg  ) 
void __kmps_set_nested ( int  arg  ) 

Definition at line 167 of file kmp_stub.c.

References i.

Referenced by FTN_SET_NESTED(), and omp_set_nested().

void __kmps_set_stacksize ( int  arg  ) 

Definition at line 179 of file kmp_stub.c.

References i.

Referenced by FTN_SET_STACKSIZE(), FTN_SET_STACKSIZE_S(), kmp_set_stacksize(), and kmp_set_stacksize_s().

void* kmp_calloc ( size_t  nelem,
size_t  elsize 
)

Definition at line 125 of file kmp_stub.c.

References i.

void kmp_free ( void *  ptr  ) 

Definition at line 127 of file kmp_stub.c.

References i.

void* kmp_malloc ( size_t  size  ) 

Definition at line 124 of file kmp_stub.c.

References i.

void* kmp_realloc ( void *  ptr,
size_t  size 
)

Definition at line 126 of file kmp_stub.c.

References i.

void kmp_set_blocktime ( omp_int_t  arg  ) 

Definition at line 119 of file kmp_stub.c.

References __kmps_set_blocktime(), and i.

void kmp_set_defaults ( char const *  str  ) 

Definition at line 121 of file kmp_stub.c.

References i.

void kmp_set_library ( omp_int_t  arg  ) 

Definition at line 120 of file kmp_stub.c.

References __kmps_set_library(), and i.

void kmp_set_stacksize ( omp_int_t  arg  ) 

Definition at line 117 of file kmp_stub.c.

References __kmps_set_stacksize(), and i.

void kmp_set_stacksize_s ( size_t  arg  ) 

Definition at line 118 of file kmp_stub.c.

References __kmps_set_stacksize(), and i.

void omp_set_dynamic ( omp_int_t  dynamic  ) 

Definition at line 104 of file kmp_stub.c.

References __kmps_set_dynamic(), and i.

void omp_set_nested ( omp_int_t  nested  ) 

Definition at line 105 of file kmp_stub.c.

References __kmps_set_nested(), and i.

void omp_set_num_threads ( omp_int_t  num_threads  ) 

Definition at line 103 of file kmp_stub.c.

References i.


Variable Documentation

int __kmps_blocktime = INT_MAX [static]

Definition at line 129 of file kmp_stub.c.

int __kmps_dynamic = 0 [static]

Definition at line 141 of file kmp_stub.c.

int __kmps_library = 1000 [static]

Definition at line 153 of file kmp_stub.c.

int __kmps_nested = 0 [static]

Definition at line 165 of file kmp_stub.c.

size_t __kmps_stacksize = KMP_DEFAULT_STKSIZE [static]

Definition at line 177 of file kmp_stub.c.

double frequency = 0.0 [static]

Definition at line 67 of file kmp_stub.c.

Referenced by __kmps_get_wtime(), and __kmps_init().


Generated on 25 Aug 2013 for libomp_oss by  doxygen 1.6.1