Hardware Locality (hwloc): windows.h Source File

Hardware Locality (hwloc) 2.9.2

windows.h
1/*
2 * Copyright © 2021 Inria. All rights reserved.
3 * See COPYING in top-level directory.
4 */
5
13#ifndef HWLOC_WINDOWS_H
14#define HWLOC_WINDOWS_H
15
16#include "hwloc.h"
17
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23
50HWLOC_DECLSPEC int hwloc_windows_get_nr_processor_groups(hwloc_topology_t topology, unsigned long flags);
51
66HWLOC_DECLSPEC int hwloc_windows_get_processor_group_cpuset(hwloc_topology_t topology, unsigned pg_index, hwloc_cpuset_t cpuset, unsigned long flags);
67
71#ifdef __cplusplus
72} /* extern "C" */
73#endif
74
75
76#endif /* HWLOC_WINDOWS_H */
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:161
hwloc_topology_t
struct hwloc_topology * hwloc_topology_t
Topology context.
Definition: hwloc.h:716
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.
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.