ARGOBOTS
dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
|
#include <pthread.h>
#include "abtd_atomic.h"
#include "abtd_context.h"
#include "abtd_spinlock.h"
#include "abtd_futex.h"
#include "abtd_stream.h"
#include <time.h>
Go to the source code of this file.
Data Structures | |
struct | ABTD_xstream_context |
struct | ABTD_affinity_cpuset |
struct | ABTD_affinity_id_list |
struct | ABTD_affinity_list |
Macros | |
#define | __USE_GNU 1 |
#define | ABTD_XSTREAM_LOCAL __thread |
Typedefs | |
typedef struct ABTD_xstream_context | ABTD_xstream_context |
typedef pthread_mutex_t | ABTD_xstream_mutex |
typedef pthread_barrier_t | ABTD_xstream_barrier |
typedef struct ABTD_affinity_cpuset | ABTD_affinity_cpuset |
typedef struct ABTD_affinity_id_list | ABTD_affinity_id_list |
typedef struct ABTD_affinity_list | ABTD_affinity_list |
typedef struct timespec | ABTD_time |
typedef struct ABTD_affinity_cpuset ABTD_affinity_cpuset |
typedef struct ABTD_affinity_id_list ABTD_affinity_id_list |
typedef struct ABTD_affinity_list ABTD_affinity_list |
typedef pthread_barrier_t ABTD_xstream_barrier |
typedef struct ABTD_xstream_context ABTD_xstream_context |
typedef pthread_mutex_t ABTD_xstream_mutex |
ABTU_ret_err int ABTD_affinity_cpuset_apply | ( | ABTD_xstream_context * | p_ctx, |
const ABTD_affinity_cpuset * | p_cpuset | ||
) |
Definition at line 436 of file abtd_affinity.c.
int ABTD_affinity_cpuset_apply_default | ( | ABTD_xstream_context * | p_ctx, |
int | rank | ||
) |
Definition at line 442 of file abtd_affinity.c.
Referenced by ABT_xstream_set_rank(), and xstream_create().
void ABTD_affinity_cpuset_destroy | ( | ABTD_affinity_cpuset * | p_cpuset | ) |
Definition at line 450 of file abtd_affinity.c.
Referenced by ABTD_affinity_finalize(), and ABTD_affinity_init().
ABTU_ret_err int ABTD_affinity_cpuset_read | ( | ABTD_xstream_context * | p_ctx, |
int | max_cpuids, | ||
int * | cpuids, | ||
int * | p_num_cpuids | ||
) |
Definition at line 428 of file abtd_affinity.c.
void ABTD_affinity_finalize | ( | ABTI_global * | p_global | ) |
Definition at line 404 of file abtd_affinity.c.
Referenced by finailze_library(), and init_library().
void ABTD_affinity_init | ( | ABTI_global * | p_global, |
const char * | affinity_str | ||
) |
Definition at line 296 of file abtd_affinity.c.
Referenced by ABTD_env_init().
ABTU_ret_err int ABTD_affinity_list_create | ( | const char * | affinity_str, |
ABTD_affinity_list ** | pp_affinity_list | ||
) |
Definition at line 337 of file abtd_affinity_parser.c.
Referenced by ABTD_affinity_init().
void ABTD_affinity_list_free | ( | ABTD_affinity_list * | p_list | ) |
Definition at line 356 of file abtd_affinity_parser.c.
Referenced by ABTD_affinity_init().
int ABTD_env_get_max_xstreams | ( | void | ) |
Definition at line 261 of file abtd_env.c.
Referenced by ABT_info_query_config(), and ABTD_env_init().
ABT_bool ABTD_env_get_print_config | ( | void | ) |
Definition at line 255 of file abtd_env.c.
Referenced by ABT_info_query_config(), and ABTD_env_init().
uint32_t ABTD_env_get_sched_event_freq | ( | void | ) |
Definition at line 320 of file abtd_env.c.
Referenced by ABT_info_query_config(), and ABTD_env_init().
uint64_t ABTD_env_get_sched_sleep_nsec | ( | void | ) |
Definition at line 327 of file abtd_env.c.
Referenced by ABT_info_query_config(), and ABTD_env_init().
size_t ABTD_env_get_sched_stacksize | ( | void | ) |
Definition at line 304 of file abtd_env.c.
Referenced by ABT_info_query_config(), and ABTD_env_init().
Definition at line 334 of file abtd_env.c.
Referenced by ABT_info_query_config(), ABTD_env_get_sched_stacksize(), ABTD_env_get_thread_stacksize(), and ABTD_env_init().
size_t ABTD_env_get_sys_pagesize | ( | void | ) |
Definition at line 276 of file abtd_env.c.
Referenced by ABTD_env_get_sched_stacksize(), ABTD_env_get_thread_stacksize(), and ABTD_env_init().
size_t ABTD_env_get_thread_stacksize | ( | void | ) |
Definition at line 288 of file abtd_env.c.
Referenced by ABT_info_query_config(), and ABTD_env_init().
ABT_bool ABTD_env_get_use_debug | ( | void | ) |
Definition at line 230 of file abtd_env.c.
Referenced by ABT_info_query_config(), and ABTD_env_init().
ABT_bool ABTD_env_get_use_logging | ( | void | ) |
Definition at line 241 of file abtd_env.c.
Referenced by ABT_info_query_config(), and ABTD_env_init().
void ABTD_env_init | ( | ABTI_global * | p_global | ) |
Definition at line 45 of file abtd_env.c.
Referenced by init_library().
uint32_t ABTD_env_key_table_size | ( | void | ) |
Definition at line 268 of file abtd_env.c.
Referenced by ABTD_env_init().
void ABTD_time_get | ( | ABTD_time * | p_time | ) |
Definition at line 21 of file abtd_time.c.
Referenced by ABT_timer_start(), ABT_timer_stop(), ABT_timer_stop_and_add(), ABT_timer_stop_and_read(), and ABTI_get_wtime().
void ABTD_time_init | ( | void | ) |
Definition at line 11 of file abtd_time.c.
Referenced by ABTD_env_init(), and ABTD_time_read_sec().
double ABTD_time_read_sec | ( | ABTD_time * | p_time | ) |
Definition at line 35 of file abtd_time.c.
Referenced by ABT_timer_read(), ABT_timer_stop_and_add(), ABT_timer_stop_and_read(), and ABTI_get_wtime().
ABTU_ret_err int ABTD_xstream_context_create | ( | void *(*)(void *) | f_xstream, |
void * | p_arg, | ||
ABTD_xstream_context * | p_ctx | ||
) |
Definition at line 48 of file abtd_stream.c.
Referenced by xstream_create().
void ABTD_xstream_context_free | ( | ABTD_xstream_context * | p_ctx | ) |
Definition at line 90 of file abtd_stream.c.
void ABTD_xstream_context_join | ( | ABTD_xstream_context * | p_ctx | ) |
Definition at line 112 of file abtd_stream.c.
void ABTD_xstream_context_print | ( | ABTD_xstream_context * | p_ctx, |
FILE * | p_os, | ||
int | indent | ||
) |
Definition at line 143 of file abtd_stream.c.
void ABTD_xstream_context_revive | ( | ABTD_xstream_context * | p_ctx | ) |
Definition at line 128 of file abtd_stream.c.
Referenced by ABT_xstream_revive().
void ABTD_xstream_context_set_self | ( | ABTD_xstream_context * | p_ctx | ) |
Definition at line 138 of file abtd_stream.c.