Hardware Locality (hwloc)  PR-737-20250925.0822.gite8f69c77f
windows.h
1 /*
2  * SPDX-License-Identifier: BSD-3-Clause
3  * Copyright © 2021 Inria. All rights reserved.
4  * See COPYING in top-level directory.
5  */
6 
14 #ifndef HWLOC_WINDOWS_H
15 #define HWLOC_WINDOWS_H
16 
17 #include "hwloc.h"
18 
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 
51 HWLOC_DECLSPEC int hwloc_windows_get_nr_processor_groups(hwloc_topology_t topology, unsigned long flags);
52 
67 HWLOC_DECLSPEC int hwloc_windows_get_processor_group_cpuset(hwloc_topology_t topology, unsigned pg_index, hwloc_cpuset_t cpuset, unsigned long flags);
68 
72 #ifdef __cplusplus
73 } /* extern "C" */
74 #endif
75 
76 
77 #endif /* HWLOC_WINDOWS_H */
hwloc_windows_get_nr_processor_groups
int hwloc_windows_get_nr_processor_groups(hwloc_topology_t topology, unsigned long flags)
Get the number of Windows processor groups.
hwloc_topology_t
struct hwloc_topology * hwloc_topology_t
Topology context.
Definition: hwloc.h:778
hwloc_obj::cpuset
hwloc_cpuset_t cpuset
CPUs covered by this object.
Definition: hwloc.h:604
hwloc_cpuset_t
hwloc_bitmap_t hwloc_cpuset_t
A CPU set is a bitmap whose bits are set according to CPU physical OS indexes.
Definition: hwloc.h:162
hwloc_windows_get_processor_group_cpuset
int hwloc_windows_get_processor_group_cpuset(hwloc_topology_t topology, unsigned pg_index, hwloc_cpuset_t cpuset, unsigned long flags)
Get the CPU-set of a Windows processor group.