49 #include <hwloc/autogen/config.h>
50 #include <sys/types.h>
58 #include <hwloc/rename.h>
64 #include <hwloc/bitmap.h>
77 #define HWLOC_API_VERSION 0x00010500
90 struct hwloc_topology;
890 unsigned *os_index,
float *distances);
1076 int hwloc_topology_restrict(hwloc_topology_t restrict topology, hwloc_const_cpuset_t cpuset,
unsigned long flags);
1188 static inline hwloc_obj_t
1190 static inline hwloc_obj_t
1242 int hwloc_obj_attr_snprintf(
char * restrict
string,
size_t size, hwloc_obj_t obj,
const char * restrict separator,
1266 hwloc_topology_t topology, hwloc_obj_t obj,
1267 const char * restrict indexprefix,
int verbose);
1284 static inline
const char *
1286 static inline
const char *
1426 int hwloc_set_cpubind(hwloc_topology_t topology, hwloc_const_cpuset_t
set,
int flags);
1433 int hwloc_get_cpubind(hwloc_topology_t topology, hwloc_cpuset_t
set,
int flags);
1442 int hwloc_set_proc_cpubind(hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t
set,
int flags);
1457 #ifdef hwloc_thread_t
1465 int hwloc_set_thread_cpubind(hwloc_topology_t topology, hwloc_thread_t thread, hwloc_const_cpuset_t
set,
int flags);
1468 #ifdef hwloc_thread_t
2011 void *
hwloc_alloc(hwloc_topology_t topology,
size_t len);
2038 int hwloc_free(hwloc_topology_t topology,
void *addr,
size_t len);
2070 int hwloc_custom_insert_topology(hwloc_topology_t newtopology, hwloc_obj_t newparent, hwloc_topology_t oldtopology, hwloc_obj_t oldroot);
2100 #include <hwloc/helper.h>