1
2
3
4
5
6
7
8
9
10
11
12
13 #ifdef HWLOC_INSIDE_PLUGIN
14
15
16
17
18 #error This file should not be used in plugins
19 #endif
20
21
22 #ifndef HWLOC_PRIVATE_SOLARIS_CHIPTYPE_H
23 #define HWLOC_PRIVATE_SOLARIS_CHIPTYPE_H
24
25 struct hwloc_solaris_chip_info_s {
26 char *model;
27 char *type;
28
29 #define HWLOC_SOLARIS_CHIP_INFO_L1I 0
30 #define HWLOC_SOLARIS_CHIP_INFO_L1D 1
31 #define HWLOC_SOLARIS_CHIP_INFO_L2I 2
32 #define HWLOC_SOLARIS_CHIP_INFO_L2D 3
33 #define HWLOC_SOLARIS_CHIP_INFO_L3 4
34 long cache_size[5];
35 unsigned cache_linesize[5];
36 unsigned cache_associativity[5];
37 int l2_unified;
38 };
39
40
41 extern void hwloc_solaris_get_chip_info(struct hwloc_solaris_chip_info_s *info);
42
43 #endif