freebsd-memory.c File Reference

Include dependency graph for freebsd-memory.c:

Go to the source code of this file.

Defines

#define UNREFERENCED(x)   (void)x

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)

Define Documentation

#define UNREFERENCED ( x   )     (void)x

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


Function Documentation

int _freebsd_get_memory_info ( PAPI_hw_info_t hw_info,
int  id 
)

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

00043 {
00044     UNREFERENCED(id);
00045     UNREFERENCED(hw_info);
00046 
00047 #if defined(__i386__)||defined(__x86_64__)
00048         x86_get_memory_info( hw_info );
00049 #endif
00050 
00051     return PAPI_ENOIMPL;
00052 }

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.

00055 {
00056   /* TODO */
00057     d->pagesize = getpagesize();
00058     return PAPI_OK;
00059 }


Generated on 8 Sep 2016 for PAPI by  doxygen 1.6.1