ROOT-Sim core  3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
Public Attributes | List of all members
buddy_state Struct Reference

The checkpointable memory context of a single buddy system. More...

#include <buddy.h>

Public Attributes

uint8_t longest [(1U<<(B_TOTAL_EXP - B_BLOCK_EXP+1))]
 The checkpointed binary tree representing the buddy system. More...
 
unsigned char base_mem [1U<< B_TOTAL_EXP]
 The memory buffer served to the model.
 
block_bitmap dirty [bitmap_required_size((1<<(B_TOTAL_EXP - 2 *B_BLOCK_EXP+1))+(1<<(B_TOTAL_EXP - B_BLOCK_EXP)))]
 Keeps track of memory blocks which have been dirtied by a write.
 

Detailed Description

The checkpointable memory context of a single buddy system.

Member Data Documentation

◆ longest

uint8_t buddy_state::longest[(1U<<(B_TOTAL_EXP - B_BLOCK_EXP+1))]

The checkpointed binary tree representing the buddy system.

the last char is actually unused


The documentation for this struct was generated from the following file: