|
PAPI
5.0.1.0
|

Go to the source code of this file.
Functions | |
| int | init_bgp (PAPI_mh_info_t *pMem_Info) |
| int | _bgp_get_memory_info (PAPI_hw_info_t *pHwInfo, int pCPU_Type) |
| int | _bgp_get_dmem_info (PAPI_dmem_info_t *pDmemInfo) |
| int _bgp_get_dmem_info | ( | PAPI_dmem_info_t * | pDmemInfo | ) |
< Invalid argument
< Invalid argument
< Invalid argument
< Invalid argument
< Invalid argument
< Invalid argument
< Invalid argument
< Invalid argument
< Invalid argument
< Invalid argument
< No error
Definition at line 45 of file linux-bgp-memory.c.
{
pDmemInfo->size = PAPI_EINVAL;
pDmemInfo->resident = PAPI_EINVAL;
pDmemInfo->high_water_mark = PAPI_EINVAL;
pDmemInfo->shared = PAPI_EINVAL;
pDmemInfo->text = PAPI_EINVAL;
pDmemInfo->library = PAPI_EINVAL;
pDmemInfo->heap = PAPI_EINVAL;
pDmemInfo->locked = PAPI_EINVAL;
pDmemInfo->stack = PAPI_EINVAL;
pDmemInfo->pagesize = PAPI_EINVAL;
return PAPI_OK;
}
| int _bgp_get_memory_info | ( | PAPI_hw_info_t * | pHwInfo, |
| int | pCPU_Type | ||
| ) |
Definition at line 25 of file linux-bgp-memory.c.
{
int retval = 0;
switch ( pCPU_Type ) {
default:
//fprintf(stderr,"Default CPU type in %s (%d)\n",__FUNCTION__,__LINE__);
retval = init_bgp( &pHwInfo->mem_hierarchy );
break;
}
return retval;
}

| int init_bgp | ( | PAPI_mh_info_t * | pMem_Info | ) |
< No error
Definition at line 66 of file linux-bgp-memory.c.
{
memset( pMem_Info, 0x0, sizeof ( *pMem_Info ) );
return PAPI_OK;
}
