Hardware Locality (hwloc)
master-20250612.0918.gitdcfc86fb1
|
10 #ifndef HWLOC_CPUKINDS_H
11 #define HWLOC_CPUKINDS_H
139 unsigned long flags);
181 int forced_efficiency,
183 unsigned long flags);
int hwloc_cpukinds_get_by_cpuset(hwloc_topology_t topology, hwloc_const_bitmap_t cpuset, unsigned long flags)
Get the index of the CPU kind that contains CPUs listed in cpuset.
const struct hwloc_bitmap_s * hwloc_const_bitmap_t
a non-modifiable hwloc_bitmap_t
Definition: bitmap.h:71
struct hwloc_bitmap_s * hwloc_bitmap_t
Set of bits represented as an opaque pointer to an internal bitmap.
Definition: bitmap.h:69
int hwloc_cpukinds_get_info(hwloc_topology_t topology, unsigned kind_index, hwloc_bitmap_t cpuset, int *efficiency, struct hwloc_infos_s **infosp, unsigned long flags)
Get the CPU set and infos about a CPU kind in the topology.
struct hwloc_topology * hwloc_topology_t
Topology context.
Definition: hwloc.h:777
int hwloc_cpukinds_get_nr(hwloc_topology_t topology, unsigned long flags)
Get the number of different kinds of CPU cores in the topology.
int hwloc_cpukinds_register(hwloc_topology_t topology, hwloc_bitmap_t cpuset, int forced_efficiency, struct hwloc_infos_s *infos, unsigned long flags)
Register a kind of CPU in the topology.
Array of string info attributes (pairs of name and value).
Definition: hwloc.h:477