Hardware Locality (hwloc)
v2.9-20240515.2021.gitc804b6c6
include
hwloc
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
20
extern
"C"
{
21
#endif
22
23
50
HWLOC_DECLSPEC
int
hwloc_windows_get_nr_processor_groups
(
hwloc_topology_t
topology,
unsigned
long
flags);
51
66
HWLOC_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_obj::cpuset
hwloc_cpuset_t cpuset
CPUs covered by this object.
Definition:
hwloc.h:542
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_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_topology_t
struct hwloc_topology * hwloc_topology_t
Topology context.
Definition:
hwloc.h:722
Generated by
1.8.17