ROOT-Sim core  3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
Functions | Variables
fossil.c File Reference

Housekeeping operations. More...

#include <gvt/fossil.h>
#include <mm/msg_allocator.h>
Include dependency graph for fossil.c:

Functions

void fossil_on_gvt (simtime_t this_gvt)
 Perform fossil collection operations at a given GVT. More...
 
void fossil_lp_collect (struct lp_ctx *lp)
 Perform fossil collection for the data structures of a certain LP. More...
 

Variables

__thread unsigned fossil_epoch_current
 The current fossil collection epoch.
 
static __thread simtime_t fossil_gvt_current
 The value of the last GVT, kept here for easier fossil collection operations.
 

Detailed Description

Housekeeping operations.

Function Documentation

◆ fossil_lp_collect()

void fossil_lp_collect ( struct lp_ctx lp)

Perform fossil collection for the data structures of a certain LP.

Parameters
lpThe LP on which to perform fossil collection

◆ fossil_on_gvt()

void fossil_on_gvt ( simtime_t  this_gvt)

Perform fossil collection operations at a given GVT.

Parameters
this_gvtThe value of the freshly computed GVT