|
Dynamic Load Balance 3.6.1+32-59d1
|
#include "LB_comm/shmem_async.h"#include "LB_core/spd.h"#include "LB_comm/shmem.h"#include "LB_comm/shmem_cpuinfo.h"#include "LB_comm/shmem_procinfo.h"#include "LB_numThreads/numThreads.h"#include "apis/dlb_errors.h"#include "support/mask_utils.h"#include "support/debug.h"#include <sched.h>#include <unistd.h>#include <errno.h>#include <pthread.h>#include <string.h>
Data Structures | |
| struct | message_t |
| struct | helper_t |
| struct | shdata_t |
Enumerations | |
| enum | { NOBODY = 0 } |
| enum | { QUEUE_SIZE = 100 } |
| enum | action_t { ACTION_NONE = 0 , ACTION_ENABLE_CPU , ACTION_ENABLE_CPU_SET , ACTION_DISABLE_CPU , ACTION_DISABLE_CPU_SET , ACTION_SET_CPU_SET , ACTION_SET_NUM_CPUS , ACTION_JOIN } |
| enum | status_t { HELPER_UNKOWN_STATUS = 0 , HELPER_WAITING , HELPER_BUSY } |
| enum | { SHMEM_ASYNC_VERSION = 5 } |
Functions | |
| int | shmem_async_init (pid_t pid, const pm_interface_t *pm, const cpu_set_t *process_mask, const char *shmem_key, int shmem_size_multiplier) |
| int | shmem_async_finalize (pid_t pid) |
| void | shmem_async_enable_cpu (pid_t pid, int cpuid) |
| void | shmem_async_enable_cpu_set (pid_t pid, const cpu_set_t *cpu_set) |
| void | shmem_async_disable_cpu (pid_t pid, int cpuid) |
| void | shmem_async_disable_cpu_set (pid_t pid, const cpu_set_t *cpu_set) |
| void | shmem_async_set_num_cpus (pid_t pid, int ncpus) |
| int | shmem_async__version (void) |
| size_t | shmem_async__size (void) |
| void | shmem_async_wait_for_completion (pid_t pid) |
| enum action_t |
| enum status_t |
| int shmem_async_init | ( | pid_t | pid, |
| const pm_interface_t * | pm, | ||
| const cpu_set_t * | process_mask, | ||
| const char * | shmem_key, | ||
| int | shmem_size_multiplier | ||
| ) |
| int shmem_async_finalize | ( | pid_t | pid | ) |
| void shmem_async_enable_cpu | ( | pid_t | pid, |
| int | cpuid | ||
| ) |
| void shmem_async_enable_cpu_set | ( | pid_t | pid, |
| const cpu_set_t * | cpu_set | ||
| ) |
| void shmem_async_disable_cpu | ( | pid_t | pid, |
| int | cpuid | ||
| ) |
| void shmem_async_disable_cpu_set | ( | pid_t | pid, |
| const cpu_set_t * | cpu_set | ||
| ) |
| void shmem_async_set_num_cpus | ( | pid_t | pid, |
| int | ncpus | ||
| ) |
| int shmem_async__version | ( | void | ) |
| size_t shmem_async__size | ( | void | ) |
| void shmem_async_wait_for_completion | ( | pid_t | pid | ) |