CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
cmlabs::EOLHeader Struct Reference

Header of the end-of-life (EOL) time-wheel that schedules page expiry (legacy allocator). More...

#include <MemoryManager.h>

Public Attributes

uint32 slotCount
 Number of time slots in the wheel.
uint32 pagesPerSlot
 Capacity (page entries) of each slot.
uint32 startSlot
 Index of the slot representing startTime.
uint64 startTime
 Timestamp (µs) of the wheel's first slot.
uint32 slotDuration
 Duration covered by one slot (µs).

Detailed Description

Header of the end-of-life (EOL) time-wheel that schedules page expiry (legacy allocator).

Pages holding time-limited data are hashed into time slots; the manager thread walks slots as time passes and reclaims expired pages.

Warning
Shared-memory layout; see the file-level ABI warning before changing.

Definition at line 602 of file MemoryManager.h.

Member Data Documentation

◆ pagesPerSlot

uint32 cmlabs::EOLHeader::pagesPerSlot

Capacity (page entries) of each slot.

Definition at line 604 of file MemoryManager.h.

◆ slotCount

uint32 cmlabs::EOLHeader::slotCount

Number of time slots in the wheel.

Definition at line 603 of file MemoryManager.h.

◆ slotDuration

uint32 cmlabs::EOLHeader::slotDuration

Duration covered by one slot (µs).

Definition at line 607 of file MemoryManager.h.

◆ startSlot

uint32 cmlabs::EOLHeader::startSlot

Index of the slot representing startTime.

Definition at line 605 of file MemoryManager.h.

◆ startTime

uint64 cmlabs::EOLHeader::startTime

Timestamp (µs) of the wheel's first slot.

Definition at line 606 of file MemoryManager.h.


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