Go to the source code of this file.
◆ check_if_cache_info_available()
| static int check_if_cache_info_available |
( |
void |
| ) |
|
|
static |
Definition at line 21 of file cache_helper.c.
23 int cache_type,level,j;
PAPI_mh_level_t level[PAPI_MAX_MEM_HIERARCHY_LEVELS]
#define PAPI_MH_TYPE_INST
PAPI_mh_info_t mem_hierarchy
#define PAPI_MH_TYPE_DATA
#define PAPI_MH_CACHE_WRITE_POLICY(a)
#define PAPI_MH_CACHE_REPLACEMENT_POLICY(a)
PAPI_mh_cache_info_t cache[PAPI_MH_MAX_LEVELS]
static struct cache_info_t cache_info[MAX_CACHE]
#define PAPI_MH_TYPE_EMPTY
const PAPI_hw_info_t * hw_info
const PAPI_hw_info_t * PAPI_get_hardware_info(void)
#define PAPI_MH_CACHE_TYPE(a)
◆ get_cachesize()
| long long get_cachesize |
( |
int |
type | ) |
|
Definition at line 78 of file cache_helper.c.
83 if (result<0)
return result;
static int check_if_cache_info_available(void)
static struct cache_info_t cache_info[MAX_CACHE]
◆ get_entries()
| long long get_entries |
( |
int |
type | ) |
|
Definition at line 94 of file cache_helper.c.
99 if (result<0)
return result;
static int check_if_cache_info_available(void)
static struct cache_info_t cache_info[MAX_CACHE]
◆ get_linesize()
| long long get_linesize |
( |
int |
type | ) |
|
Definition at line 110 of file cache_helper.c.
115 if (result<0)
return result;
static int check_if_cache_info_available(void)
static struct cache_info_t cache_info[MAX_CACHE]
◆ cache_info
◆ hw_info