table of contents
other versions
- wheezy 1.4.1-4
- jessie 1.10.0-3
- testing 1.11.5-1
- unstable 1.11.5-1
- experimental 1.11.7-1
Helpers for manipulating glibc sched affinity(3) | Hardware Locality (hwloc) | Helpers for manipulating glibc sched affinity(3) |
NAME¶
Helpers for manipulating glibc sched affinity -Functions¶
static inline int hwloc_cpuset_to_glibc_sched_affinity (hwloc_topology_t topology , hwloc_const_cpuset_t hwlocset, cpu_set_t *schedset, size_t schedsetsize)
Function Documentation¶
static inline int hwloc_cpuset_from_glibc_sched_affinity (hwloc_topology_t topology, hwloc_cpuset_thwlocset, const cpu_set_t *schedset, size_tschedsetsize) [static]¶
Convert glibc sched affinity CPU set schedset into hwloc CPU set. This function may be used before calling sched_setaffinity or any other function that takes a cpu_set_t as input parameter. schedsetsize should be sizeof(cpu_set_t) unless schedset was dynamically allocated with CPU_ALLOCstatic inline int hwloc_cpuset_to_glibc_sched_affinity (hwloc_topology_t topology, hwloc_const_cpuset_thwlocset, cpu_set_t *schedset, size_tschedsetsize) [static]¶
Convert hwloc CPU set toposet into glibc sched affinity CPU set schedset. This function may be used before calling sched_setaffinity or any other function that takes a cpu_set_t as input parameter. schedsetsize should be sizeof(cpu_set_t) unless schedset was dynamically allocated with CPU_ALLOCAuthor¶
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.Mon Feb 27 2012 | Version 1.4.1 |