#include "abti.h"
#include <unistd.h>
Go to the source code of this file.
◆ apply_cpuset()
static ABTU_ret_err int apply_cpuset |
( |
pthread_t |
native_thread, |
|
|
const ABTD_affinity_cpuset * |
p_cpuset |
|
) |
| |
|
static |
◆ create_cpuset()
static ABTU_ret_err int create_cpuset |
( |
pthread_t |
native_thread, |
|
|
ABTD_affinity_cpuset * |
p_cpuset |
|
) |
| |
|
static |
◆ get_num_cores()
static ABTU_ret_err int get_num_cores |
( |
pthread_t |
native_thread, |
|
|
int * |
p_num_cores |
|
) |
| |
|
static |
◆ int_rem()
static int int_rem |
( |
int |
a, |
|
|
unsigned int |
b |
|
) |
| |
|
inlinestatic |
◆ read_cpuset()
static ABTU_ret_err int read_cpuset |
( |
pthread_t |
native_thread, |
|
|
int |
max_cpuids, |
|
|
int * |
cpuids, |
|
|
int * |
p_num_cpuids |
|
) |
| |
|
static |
◆ g_affinity