|  | 
        
          | 
      
      
        
          | 
 Function Documentation
      
        
          | 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 |  
          |  | ) |  |  [static] |  
Convert glibc sched affinity CPU set schedsetinto 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. schedsetsizeshould be sizeof(cpu_set_t) unlessschedsetwas dynamically allocated with CPU_ALLOC
 
Convert hwloc CPU set toposetinto glibc sched affinity CPU setschedset. This function may be used before calling sched_setaffinity or any other function that takes a cpu_set_t as input parameter. schedsetsizeshould be sizeof(cpu_set_t) unlessschedsetwas dynamically allocated with CPU_ALLOC
 |  |  |