Hardware Locality (hwloc) 2.13.0rc1
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
13
14#ifndef HWLOC_WINDOWS_H
15#define HWLOC_WINDOWS_H
16
17#include "hwloc.h"
18
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24
41
42
51HWLOC_DECLSPEC int hwloc_windows_get_nr_processor_groups(hwloc_topology_t topology, unsigned long flags);
52
67HWLOC_DECLSPEC int hwloc_windows_get_processor_group_cpuset(hwloc_topology_t topology, unsigned pg_index, hwloc_cpuset_t cpuset, unsigned long flags);
68
70
71
72#ifdef __cplusplus
73} /* extern "C" */
74#endif
75
76
77#endif /* HWLOC_WINDOWS_H */
struct hwloc_topology * hwloc_topology_t
Topology context.
Definition hwloc.h:748
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:165
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.
int hwloc_windows_get_nr_processor_groups(hwloc_topology_t topology, unsigned long flags)
Get the number of Windows processor groups.