SimGrid  3.16
Versatile Simulation of Distributed Systems
PageStore_unit.cpp File Reference
#include <stdio.h>
#include "xbt.h"
#include <cstring>
#include <cstdint>
#include <unistd.h>
#include <sys/mman.h>
#include <memory>
#include "src/mc/PageStore.hpp"

Functions

static void new_content (void *data, std::size_t size)
 
static voidgetpage ()
 
 XBT_TEST_UNIT ("base", test_mc_page_store, "Test adding/removing pages in the store")
 

Variables

static int value = 0
 

Function Documentation

◆ new_content()

static void new_content ( void data,
std::size_t  size 
)
static

◆ getpage()

static void* getpage ( )
static

◆ XBT_TEST_UNIT()

XBT_TEST_UNIT ( "base"  ,
test_mc_page_store  ,
"Test adding/removing pages in the store"   
)

Variable Documentation

◆ value

int value = 0
static