2
* Copyright © 2009 inria. All rights reserved.
3
* Copyright © 2009 Université Bordeaux 1
4
* See COPYING in top-level directory.
7
#ifndef HWLOC_PORT_SYS_PROCESSOR_H
8
#define HWLOC_PORT_SYS_PROCESSOR_H
11
#include <sys/procset.h>
12
typedef int processorid_t;
14
#define PBIND_QUERY -2
16
extern int processor_bind(idtype_t idtype, id_t id, processorid_t processorid, processorid_t *obind);
22
#define PROCESSOR_CLASS_ANY ((cpu_t)(-1))
23
extern int bindprocessor(int What, int Who, cpu_t Where);
25
extern cpu_t mycpu(void);
27
#endif /* HWLOC_PORT_SYS_PROCESSOR_H */