hwloc_cpuset_from_glibc_sched_affinity man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

hwlocality_glibc_sched(3)  Hardware Locality (hwloc) hwlocality_glibc_sched(3)

NAME
       hwlocality_glibc_sched - Interoperability with glibc sched affinity

   Functions
       static int hwloc_cpuset_to_glibc_sched_affinity (hwloc_topology_t
	   topology, hwloc_const_cpuset_t hwlocset, cpu_set_t *schedset,
	   size_t schedsetsize)
       static int hwloc_cpuset_from_glibc_sched_affinity (hwloc_topology_t
	   topology, hwloc_cpuset_t hwlocset, const cpu_set_t *schedset,
	   size_t schedsetsize)

Detailed Description
       This interface offers ways to convert between hwloc cpusets and glibc
       cpusets such as those manipulated by sched_getaffinity() or
       pthread_attr_setaffinity_np().

       Note:
	   Topology topology must match the current machine.

Function Documentation
   static int hwloc_cpuset_from_glibc_sched_affinity (hwloc_topology_t
       topology, hwloc_cpuset_t hwlocset, const cpu_set_t * schedset, size_t
       schedsetsize) [inline],	[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 int hwloc_cpuset_to_glibc_sched_affinity (hwloc_topology_t topology,
       hwloc_const_cpuset_t hwlocset, cpu_set_t * schedset, size_t
       schedsetsize) [inline],	[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.11.1			Thu Oct 15 2015	     hwlocality_glibc_sched(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net