|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Per-message slot record: which bin/blocks hold the message and until when. More...
#include <TemporalMemory.h>
Public Attributes | |
| uint16 | serial |
| Reuse serial; incremented when the slot is recycled and checked against the serial packed in the message id (wraps around). | |
| uint64 | eol |
| Absolute end-of-life timestamp (µs); slot reclaimable after this. | |
| uint32 | bin |
| Index of the bin holding the message data. | |
| uint64 | offset |
| Byte offset of the message inside the bin's data area. | |
| uint64 | size |
| Message byte size; 0 means the slot is not in use. | |
| uint64 | usage |
| Bytes actually reserved (blocks used * blocksize >= size). | |
| uint32 | startBlock |
| First block index used within the bin. | |
| uint32 | blockUsage |
| Number of contiguous blocks used. | |
Per-message slot record: which bin/blocks hold the message and until when.
Definition at line 28 of file TemporalMemory.h.
| uint32 cmlabs::SlotEntryStruct::bin |
Index of the bin holding the message data.
Definition at line 31 of file TemporalMemory.h.
Referenced by cmlabs::TemporalMemory::insertMessage().
| uint32 cmlabs::SlotEntryStruct::blockUsage |
Number of contiguous blocks used.
Definition at line 36 of file TemporalMemory.h.
Referenced by cmlabs::TemporalMemory::insertMessage().
| uint64 cmlabs::SlotEntryStruct::eol |
Absolute end-of-life timestamp (µs); slot reclaimable after this.
Definition at line 30 of file TemporalMemory.h.
Referenced by cmlabs::TemporalMemory::insertMessage().
| uint64 cmlabs::SlotEntryStruct::offset |
Byte offset of the message inside the bin's data area.
Definition at line 32 of file TemporalMemory.h.
Referenced by cmlabs::TemporalMemory::insertMessage().
| uint16 cmlabs::SlotEntryStruct::serial |
Reuse serial; incremented when the slot is recycled and checked against the serial packed in the message id (wraps around).
Definition at line 29 of file TemporalMemory.h.
Referenced by cmlabs::TemporalMemory::insertMessage().
| uint64 cmlabs::SlotEntryStruct::size |
Message byte size; 0 means the slot is not in use.
Definition at line 33 of file TemporalMemory.h.
Referenced by cmlabs::TemporalMemory::insertMessage().
| uint32 cmlabs::SlotEntryStruct::startBlock |
First block index used within the bin.
Definition at line 35 of file TemporalMemory.h.
Referenced by cmlabs::TemporalMemory::insertMessage().
| uint64 cmlabs::SlotEntryStruct::usage |
Bytes actually reserved (blocks used * blocksize >= size).
Definition at line 34 of file TemporalMemory.h.
Referenced by cmlabs::TemporalMemory::insertMessage().