FV3 Bundle
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sched.h>
#include <errno.h>
#include <sys/resource.h>
#include <sys/syscall.h>
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE |
Functions | |
static pid_t | gettid (void) |
int | get_cpu_affinity (void) |
int | get_cpu_affinity_ (void) |
void | set_cpu_affinity (int cpu) |
void | set_cpu_affinity_ (int *cpu) |
#define _GNU_SOURCE |
Definition at line 19 of file affinity.c.
int get_cpu_affinity | ( | void | ) |
Definition at line 44 of file affinity.c.
int get_cpu_affinity_ | ( | void | ) |
|
static |
void set_cpu_affinity | ( | int | cpu | ) |
Definition at line 76 of file affinity.c.
void set_cpu_affinity_ | ( | int * | cpu | ) |