|
Dynamic Load Balance 3.6.1+32-59d1
|
#include "LB_numThreads/omptm_free_agents.h"#include "apis/dlb.h"#include "support/atomic.h"#include "support/debug.h"#include "support/mask_utils.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_state_t { CPU_DISABLED = 0 , CPU_BUSY , CPU_LENT , CPU_STATE_UNKNOWN = 0 , CPU_STATE_IDLE = 1 << 0 , CPU_STATE_LENT = 1 << 1 , CPU_STATE_RECLAIMED = 1 << 2 , CPU_STATE_IN_PARALLEL = 1 << 3 , CPU_STATE_FREE_AGENT_ENABLED = 1 << 4 } |
| enum | openmp_roles_t { ROLE_NONE = 0 , ROLE_PRIMARY = 1 << 0 , ROLE_WORKER = 1 << 1 , ROLE_FREE_AGENT = 1 << 2 } |
Variables | |
| __thread int | __free_agent_id = -1 |
| __thread int | __worker_binding = -1 |
| const omptool_event_funcs_t | omptm_free_agents_events_vtable |
| enum cpu_state_t |
| enum openmp_roles_t |
| int __kmp_get_free_agent_id | ( | void | ) |
| void omptm_free_agents__init | ( | pid_t | process_id, |
| const options_t * | options | ||
| ) |
| void omptm_free_agents__finalize | ( | void | ) |
| void omptm_free_agents__IntoBlockingCall | ( | void | ) |
| void omptm_free_agents__OutOfBlockingCall | ( | void | ) |
| void omptm_free_agents__thread_begin | ( | ompt_thread_t | thread_type | ) |
| void omptm_free_agents__parallel_begin | ( | omptool_parallel_data_t * | parallel_data | ) |
| void omptm_free_agents__parallel_end | ( | omptool_parallel_data_t * | parallel_data | ) |
| void omptm_free_agents__into_parallel_function | ( | omptool_parallel_data_t * | parallel_data, |
| unsigned int | index | ||
| ) |
| void omptm_free_agents__task_create | ( | void | ) |
| void omptm_free_agents__task_complete | ( | void | ) |
| void omptm_free_agents__task_switch | ( | void | ) |
| void omptm_free_agents_testing__set_worker_binding | ( | int | cpuid | ) |
| void omptm_free_agents_testing__set_free_agent_id | ( | int | id | ) |
| void omptm_free_agents_testing__set_pending_tasks | ( | unsigned int | num_tasks | ) |
| void omptm_free_agents_testing__acquire_one_free_agent | ( | void | ) |
| bool omptm_free_agents_testing__in_parallel | ( | void | ) |
| bool omptm_free_agents_testing__check_cpu_in_parallel | ( | int | cpuid | ) |
| bool omptm_free_agents_testing__check_cpu_idle | ( | int | cpuid | ) |
| bool omptm_free_agents_testing__check_cpu_free_agent_enabled | ( | int | cpuid | ) |
| int omptm_free_agents_testing__get_num_enabled_free_agents | ( | void | ) |
| int omptm_free_agents_testing__get_free_agent_cpu | ( | int | thread_id | ) |
| int omptm_free_agents_testing__get_free_agent_binding | ( | int | thread_id | ) |
| int omptm_free_agents_testing__get_free_agent_id_by_cpuid | ( | int | cpuid | ) |
| int omptm_free_agents_testing__get_free_agent_cpuid_by_id | ( | int | thread_id | ) |
| __thread int __free_agent_id = -1 |
| __thread int __worker_binding = -1 |
| const omptool_event_funcs_t omptm_free_agents_events_vtable |