All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
Akumuli::PageInfo Class Reference

#include <util.h>

Public Member Functions

 PageInfo (const void *addr, size_t len_bytes)
aku_Status refresh (const void *addr)
 Query data from OS.
bool in_core (const void *addr)
 Check if memory address is in core.
bool swapped ()
 Check if underlying memory is swapped to disk.

Detailed Description

Wrapper for mincore syscall. If everything is OK works as simple wrapper (memory needed for mincore syscall managed by wrapper itself). If non-fatal error occured - acts as in case when all memory is in core (optimistically).

Constructor & Destructor Documentation

Akumuli::PageInfo::PageInfo ( const void *  addr,
size_t  len_bytes 


start_addrstart address of the monitored memory region
len_byteslength (in bytes) of the monitored region

The documentation for this class was generated from the following files: