PAPI  5.4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
freebsd-memory.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int _freebsd_get_memory_info (PAPI_hw_info_t *hw_info, int id)
 
int _papi_freebsd_get_dmem_info (PAPI_dmem_info_t *d)
 

Function Documentation

int _freebsd_get_memory_info ( PAPI_hw_info_t hw_info,
int  id 
)

Definition at line 42 of file freebsd-memory.c.

43 {
44  UNREFERENCED(id);
45  UNREFERENCED(hw_info);
46 
47 #if defined(__i386__)||defined(__x86_64__)
48  x86_get_memory_info( hw_info );
49 #endif
50 
51  return PAPI_ENOIMPL;
52 }
#define UNREFERENCED(x)
#define PAPI_ENOIMPL
Definition: papi.h:270

Here is the caller graph for this function:

int _papi_freebsd_get_dmem_info ( PAPI_dmem_info_t d)

Definition at line 54 of file freebsd-memory.c.

55 {
56  /* TODO */
57  d->pagesize = getpagesize();
58  return PAPI_OK;
59 }
return PAPI_OK
Definition: linux-nvml.c:458
long long pagesize
Definition: papi.h:879