PAPI  5.3.2.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
freebsd-memory.c File Reference
Include dependency graph for freebsd-memory.c:

Go to the source code of this file.

Macros

#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)
 

Macro Definition 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.

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 PAPI_ENOIMPL
Definition: fpapi.h:124
#define UNREFERENCED(x)

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:877