25 sysctlnametomib(
"hw.memsize", mib, &len);
28 if (sysctl(mib, 2, &ll, &len, NULL, 0) == -1) {
44#if defined(__i386__)||defined(__x86_64__)
56 PAPIERROR(
"Unknown vendor in memory information call for x86." );
70 x86_get_memory_info( hwinfo );
static const PAPI_hw_info_t * hw_info
int _darwin_update_shlib_info(papi_mdi_t *mdi)
int _darwin_get_dmem_info(PAPI_dmem_info_t *d)
int _darwin_get_memory_info(PAPI_hw_info_t *hwinfo, int cpu_type)
#define PAPI_VENDOR_INTEL
Return codes and api definitions.
void PAPIERROR(char *format,...)
A pointer to the following is passed to PAPI_get_dmem_info()
PAPI_mh_info_t mem_hierarchy
int _x86_cache_info(PAPI_mh_info_t *mh_info)