PAPI  5.0.1.0
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 
)

< Not implemented

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

{
    UNREFERENCED(id);
    UNREFERENCED(hw_info);

#if defined(__i386__)||defined(__x86_64__)
        x86_get_memory_info( hw_info );
#endif

    return PAPI_ENOIMPL;
}

Here is the caller graph for this function:

< No error

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

{
  /* TODO */
    d->pagesize = getpagesize();
    return PAPI_OK;
}
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines