PAPI 7.1.0.0
Loading...
Searching...
No Matches
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

◆ _freebsd_get_memory_info()

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);
46
47#if defined(__i386__)||defined(__x86_64__)
48 x86_get_memory_info( hw_info );
49#endif
50
51 return PAPI_ENOIMPL;
52}
static const PAPI_hw_info_t * hw_info
Definition: byte_profile.c:28
#define PAPI_ENOIMPL
Definition: f90papi.h:219
#define UNREFERENCED(x)
Here is the caller graph for this function:

◆ _papi_freebsd_get_dmem_info()

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}
#define PAPI_OK
Definition: f90papi.h:73
long long pagesize
Definition: papi.h:876