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

Root header of the component-memory segment. More...

#include <ComponentMemory.h>

Public Attributes

uint64 size
 Total segment size in bytes.
uint32 cid
 Check/magic id validated on attach.
uint64 createdTime
uint32 indexSize
 Number of offset slots in the index.
uint32 count
 Number of registered components.
uint32 maxID
 Highest component id assigned so far.
uint64 usage
 Bytes currently in use in the segment.

Detailed Description

Root header of the component-memory segment.

Followed in memory by indexSize uint64 offsets, then the packed component records.

Warning
Shared-memory layout; see MemoryManager.h for the ABI/rebuild warning.

Definition at line 52 of file ComponentMemory.h.

Member Data Documentation

◆ cid

uint32 cmlabs::ComponentMemoryStruct::cid

Check/magic id validated on attach.

Definition at line 54 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::open().

◆ count

uint32 cmlabs::ComponentMemoryStruct::count

Number of registered components.

Definition at line 57 of file ComponentMemory.h.

◆ createdTime

uint64 cmlabs::ComponentMemoryStruct::createdTime

Definition at line 55 of file ComponentMemory.h.

◆ indexSize

uint32 cmlabs::ComponentMemoryStruct::indexSize

Number of offset slots in the index.

Definition at line 56 of file ComponentMemory.h.

◆ maxID

uint32 cmlabs::ComponentMemoryStruct::maxID

Highest component id assigned so far.

Definition at line 58 of file ComponentMemory.h.

◆ size

uint64 cmlabs::ComponentMemoryStruct::size

Total segment size in bytes.

Definition at line 53 of file ComponentMemory.h.

◆ usage

uint64 cmlabs::ComponentMemoryStruct::usage

Bytes currently in use in the segment.

Definition at line 59 of file ComponentMemory.h.


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