|
Dynamic Load Balance 3.7.0
|
#include "LB_numThreads/omptm_role_shift.h"#include "apis/dlb.h"#include "support/atomic.h"#include "support/debug.h"#include "support/mask_utils.h"#include "support/tracing.h"#include "LB_comm/shmem_cpuinfo.h"#include "LB_comm/shmem_procinfo.h"#include "LB_core/spd.h"#include "LB_numThreads/omptool.h"#include <sched.h>#include <unistd.h>#include <string.h>#include <pthread.h>#include <inttypes.h>
Data Structures | |
| struct | cpu_data_t |
Enumerations | |
| enum | cpu_status_t { OWN = 0 , UNKNOWN = 1 << 0 , LENT = 1 << 1 , BORROWED = 1 << 2 } |
Variables | |
| __thread int | global_tid = -1 |
| const omptool_event_funcs_t | omptm_role_shift_events_vtable |
| enum cpu_status_t |
| int __kmp_get_num_threads_role | ( | ompt_role_t | r | ) |
| int __kmp_get_thread_roles | ( | int | tid, |
| ompt_role_t * | r | ||
| ) |
| void __kmp_set_thread_roles1 | ( | int | how_many, |
| ompt_role_t | r | ||
| ) |
| void __kmp_set_thread_roles2 | ( | int | tid, |
| ompt_role_t | r | ||
| ) |
| int __kmp_get_thread_id | ( | void | ) |
| void omptm_role_shift__init | ( | pid_t | process_id, |
| const options_t * | options | ||
| ) |
| void omptm_role_shift__finalize | ( | void | ) |
| void omptm_role_shift__IntoBlockingCall | ( | void | ) |
| void omptm_role_shift__OutOfBlockingCall | ( | void | ) |
| void omptm_role_shift__thread_begin | ( | ompt_thread_t | thread_type | ) |
| void omptm_role_shift__thread_role_shift | ( | ompt_data_t * | thread_data, |
| ompt_role_t | prior_role, | ||
| ompt_role_t | next_role | ||
| ) |
| void omptm_role_shift__parallel_begin | ( | omptool_parallel_data_t * | parallel_data | ) |
| void omptm_role_shift__parallel_end | ( | omptool_parallel_data_t * | parallel_data | ) |
| void omptm_role_shift__task_create | ( | void | ) |
| void omptm_role_shift__task_complete | ( | void | ) |
| void omptm_role_shift__task_switch | ( | void | ) |
| int omptm_role_shift_testing__get_num_free_agents | ( | void | ) |
| int omptm_role_shift_testing__get_num_registered_threads | ( | void | ) |
| int omptm_role_shift_testing__get_current_parallel_size | ( | void | ) |
| void omptm_role_shift_testing__set_pending_tasks | ( | unsigned int | num_tasks | ) |
| unsigned int omptm_role_shift_testing__get_pending_tasks | ( | void | ) |
| void omptm_role_shift_testing__set_global_tid | ( | int | tid | ) |
| bool omptm_role_shift_testing__in_parallel | ( | void | ) |
| int omptm_role_shift_testing__get_id_from_cpu | ( | int | cpuid | ) |
| int * omptm_role_shift_testing__get_cpu_by_id_ptr | ( | void | ) |
| cpu_data_t * omptm_role_shift_testing__get_cpu_data_ptr | ( | void | ) |
| __thread int global_tid = -1 |
| const omptool_event_funcs_t omptm_role_shift_events_vtable |