blob: 4f0b1ba4edea775f5c1470b4569ded19f3dbb658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
struct hwinfo_main;
struct sc_main;
int hwinfo_deinit(struct hwinfo_main * object);
int hwinfo_init(struct sc_main * sc);
int hwinfo_nr_sockets(struct hwinfo_main * object);
int hwinfo_nr_cpus(struct hwinfo_main * object);
int hwinfo_physical_cpu_id(struct hwinfo_main * object, int cpu_id);
int hwinfo_socket_id(struct hwinfo_main * object, int cpu_id);
#ifdef __cplusplus
}
#endif
|