Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hwlocality_glibc_sched(3) [debian man page]

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) static inline int hwloc_cpuset_from_glibc_sched_affinity (hwloc_topology_t topology , hwloc_cpuset_t hwlocset, const 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_ALLOC static 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_ALLOC Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.4.1 Mon Feb 27 2012 Helpers for manipulating glibc sched affinity(3)

Check Out this Related Man Page

Helpers for manipulating Linux libnuma nodemask_t(3)	     Hardware Locality (hwloc)	      Helpers for manipulating Linux libnuma nodemask_t(3)

NAME
Helpers for manipulating Linux libnuma nodemask_t - Functions static inline int hwloc_cpuset_to_linux_libnuma_nodemask (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, nodemask_t *nodemask) static inline int hwloc_nodeset_to_linux_libnuma_nodemask (hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, nodemask_t *nodemask) static inline int hwloc_cpuset_from_linux_libnuma_nodemask (hwloc_topology_t topology, hwloc_cpuset_t cpuset, const nodemask_t *nodemask) static inline int hwloc_nodeset_from_linux_libnuma_nodemask (hwloc_topology_t topology, hwloc_nodeset_t nodeset, const nodemask_t *nodemask) Detailed Description Note: The Linux libnuma nodemask_t interface is deprecated and its implementation is at least incorrect with respect to sparse NUMA node ids. It is strongly advised to use struct bitmask instead of nodemask_t, or even to use hwloc directly. Function Documentation static inline int hwloc_cpuset_from_linux_libnuma_nodemask (hwloc_topology_ttopology, hwloc_cpuset_tcpuset, const nodemask_t *nodemask) [static] Convert libnuma nodemask nodemask into hwloc CPU set cpuset. This function may be used before calling some old libnuma functions that use a nodemask_t as an output parameter. static inline int hwloc_cpuset_to_linux_libnuma_nodemask (hwloc_topology_ttopology, hwloc_const_cpuset_tcpuset, nodemask_t *nodemask) [static] Convert hwloc CPU set cpuset into libnuma nodemask nodemask. This function may be used before calling some old libnuma functions that use a nodemask_t as an input parameter. static inline int hwloc_nodeset_from_linux_libnuma_nodemask (hwloc_topology_ttopology, hwloc_nodeset_tnodeset, const nodemask_t *nodemask) [static] Convert libnuma nodemask nodemask into hwloc NUMA node set nodeset. This function may be used before calling some old libnuma functions that use a nodemask_t as an output parameter. static inline int hwloc_nodeset_to_linux_libnuma_nodemask (hwloc_topology_ttopology, hwloc_const_nodeset_tnodeset, nodemask_t *nodemask) [static] Convert hwloc NUMA node set nodeset into libnuma nodemask nodemask. This function may be used before calling some old libnuma functions that use a nodemask_t as an input parameter. Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.4.1 Mon Feb 27 2012 Helpers for manipulating Linux libnuma nodemask_t(3)
Man Page