#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 i __kmps_init(); |
Definition at line 100 of file kmp_stub.c.
Referenced by ___kmp_env_blk_parse_unix(), __kmp_alloc_taskq(), __kmp_aux_dump_task_queue_tree(), __kmp_copy_common_data(), __kmp_dump_debug_buffer(), __kmp_dump_task_queue(), __kmp_dump_thunk(), __kmp_env_blk_var(), __kmp_expand_cons_stack(), __kmp_free_taskq(), __kmp_get_global_thread_id(), __kmp_init_common_data(), __kmp_parse_nested_num_threads(), __kmp_print_version_1(), __kmp_readstr_with_sentinel(), __kmp_reap_monitor(), __kmp_remove_queue_from_tree(), __kmp_stg_print_num_threads(), __kmp_str_match(), __kmp_str_to_size(), __kmp_str_to_uint(), __kmp_taskq_tasks_finished(), __kmp_validate_locks(), __kmpc_end_taskq(), __kmpc_taskq(), __kmpc_threadprivate_cached(), __kmps_get_blocktime(), __kmps_get_dynamic(), __kmps_get_library(), __kmps_get_nested(), __kmps_get_stacksize(), __kmps_get_wtick(), __kmps_get_wtime(), __kmps_set_blocktime(), __kmps_set_dynamic(), __kmps_set_library(), __kmps_set_nested(), __kmps_set_stacksize(), computeExternalSymbols(), StringTable::decode(), dump_cons_stack(), findRequiredExternal(), hideSymbols(), kmp_calloc(), kmp_free(), kmp_malloc(), kmp_realloc(), kmp_set_blocktime(), kmp_set_defaults(), kmp_set_library(), kmp_set_stacksize(), kmp_set_stacksize_s(), main(), StringTable::makeDirectory(), obj_copy(), omp_set_dynamic(), omp_set_nested(), omp_set_num_threads(), ompt_enumerate_state(), ompt_task(), and ompt_team().
int __kmps_get_blocktime | ( | void | ) |
int __kmps_get_dynamic | ( | void | ) |
int __kmps_get_library | ( | void | ) |
Definition at line 160 of file kmp_stub.c.
References i.
int __kmps_get_nested | ( | void | ) |
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 | ) |
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 | ) |
Definition at line 155 of file kmp_stub.c.
References i.
Referenced by FTN_SET_LIBRARY(), FTN_SET_LIBRARY_SERIAL(), FTN_SET_LIBRARY_THROUGHPUT(), FTN_SET_LIBRARY_TURNAROUND(), and kmp_set_library().
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.
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().