22 if ( _system_configuration.tlb_attrib & ( 1 << 30 ) ) {
36 if ( _system_configuration.cache_attrib & ( 1 << 30 ) ) {
38 L[0].
cache[0].
size = _system_configuration.icache_size;
43 L[0].
cache[0].
size = _system_configuration.icache_size;
47 L[0].
cache[1].
size = _system_configuration.dcache_size;
52 L[1].
cache[0].
size = _system_configuration.L2_cache_size;
74 pid_t mypid = getpid( );
80 if ( getprocs( &
pi,
sizeof (
pi ), 0, 0, &
pid, 1 ) != 1 )
82 if ( mypid ==
pi.pi_pid ) {
PAPI_mh_level_t level[PAPI_MAX_MEM_HIERARCHY_LEVELS]
#define PAPI_MH_TYPE_INST
PAPI_mh_info_t mem_hierarchy
Return codes and api definitions.
#define PAPI_MH_TYPE_DATA
int _aix_get_memory_info(PAPI_hw_info_t *mem_info, int type)
A pointer to the following is passed to PAPI_get_dmem_info()
PAPI_mh_cache_info_t cache[PAPI_MH_MAX_LEVELS]
int _aix_get_dmem_info(PAPI_dmem_info_t *d)
#define PAPI_MH_TYPE_UNIFIED
PAPI_mh_tlb_info_t tlb[PAPI_MH_MAX_LEVELS]
long long high_water_mark