PAPI 7.1.0.0
Loading...
Searching...
No Matches
hw_desc.h
Go to the documentation of this file.
1#ifndef _HW_DESC_
2#define _HW_DESC_
3
4#define _MAX_SUPPORTED_CACHE_LEVELS 16
5
6typedef struct _hw_desc{
7 int numcpus;
9 int maxPPB;
14 long long dcache_line_size[_MAX_SUPPORTED_CACHE_LEVELS];
15 long long dcache_size[_MAX_SUPPORTED_CACHE_LEVELS];
16 int dcache_assoc[_MAX_SUPPORTED_CACHE_LEVELS];
17 long long icache_line_size[_MAX_SUPPORTED_CACHE_LEVELS];
18 long long icache_size[_MAX_SUPPORTED_CACHE_LEVELS];
19 int icache_assoc[_MAX_SUPPORTED_CACHE_LEVELS];
20} hw_desc_t;
21
22#endif
#define _MAX_SUPPORTED_CACHE_LEVELS
Definition: hw_desc.h:4
int maxPPB
Definition: hw_desc.h:9
int numcpus
Definition: hw_desc.h:7
int cache_levels
Definition: hw_desc.h:8
int pts_per_mm
Definition: hw_desc.h:11
int mmsplit
Definition: hw_desc.h:10