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
6
typedef
struct
_hw_desc{
7
int
numcpus
;
8
int
cache_levels
;
9
int
maxPPB
;
10
int
mmsplit
;
11
int
pts_per_mm
;
12
int
split[
_MAX_SUPPORTED_CACHE_LEVELS
];
13
int
pts_per_reg[
_MAX_SUPPORTED_CACHE_LEVELS
];
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
_MAX_SUPPORTED_CACHE_LEVELS
#define _MAX_SUPPORTED_CACHE_LEVELS
Definition:
hw_desc.h:4
hw_desc_t
Definition:
hw_desc.h:6
hw_desc_t::maxPPB
int maxPPB
Definition:
hw_desc.h:9
hw_desc_t::numcpus
int numcpus
Definition:
hw_desc.h:7
hw_desc_t::cache_levels
int cache_levels
Definition:
hw_desc.h:8
hw_desc_t::pts_per_mm
int pts_per_mm
Definition:
hw_desc.h:11
hw_desc_t::mmsplit
int mmsplit
Definition:
hw_desc.h:10
src
counter_analysis_toolkit
hw_desc.h
Generated on Wed Dec 20 2023 18:12:51 for PAPI by
1.9.6