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

Root header of the data-maps segment; records capacity/size of each contained map. More...

#include <DataMapsMemory.h>

Public Attributes

uint64 size
 Total segment size in bytes.
uint32 cid
 Check/magic id validated on attach.
uint64 createdTime
 Creation timestamp (µs).
uint32 typesMaxCount
 Capacity of the type map (entries).
uint32 typesBitFieldSize
 Bytes in the type map's occupancy bitfield.
uint64 typesSize
 Total bytes of the type map.
uint32 contextsMaxCount
 Capacity of the context map (entries).
uint32 contextsBitFieldSize
 Bytes in the context map's occupancy bitfield.
uint64 contextsSize
 Total bytes of the context map.
uint32 tagsMaxCount
 Capacity of the tag map (entries).
uint32 tagsBitFieldSize
 Bytes in the tag map's occupancy bitfield.
uint64 tagsSize
 Total bytes of the tag map.
uint32 cranksMaxCount
 Capacity of the crank map (entries).
uint32 cranksBitFieldSize
 Bytes in the crank map's occupancy bitfield.
uint64 cranksSize
 Total bytes of the crank map.
uint32 requestsMaxCount
 Capacity of the request map (entries).
uint32 requestsBitFieldSize
 Bytes in the request map's occupancy bitfield.
uint64 requestsSize
 Total bytes of the request map.

Detailed Description

Root header of the data-maps segment; records capacity/size of each contained map.

Followed in memory by the five maps (types, contexts, tags, cranks, requests), each a GenericMapHeader with bitfield and entry array.

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

Definition at line 30 of file DataMapsMemory.h.

Member Data Documentation

◆ cid

uint32 cmlabs::DataMapsMemoryStruct::cid

Check/magic id validated on attach.

Definition at line 32 of file DataMapsMemory.h.

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

◆ contextsBitFieldSize

uint32 cmlabs::DataMapsMemoryStruct::contextsBitFieldSize

Bytes in the context map's occupancy bitfield.

Definition at line 38 of file DataMapsMemory.h.

◆ contextsMaxCount

uint32 cmlabs::DataMapsMemoryStruct::contextsMaxCount

Capacity of the context map (entries).

Definition at line 37 of file DataMapsMemory.h.

◆ contextsSize

uint64 cmlabs::DataMapsMemoryStruct::contextsSize

Total bytes of the context map.

Definition at line 39 of file DataMapsMemory.h.

◆ cranksBitFieldSize

uint32 cmlabs::DataMapsMemoryStruct::cranksBitFieldSize

Bytes in the crank map's occupancy bitfield.

Definition at line 44 of file DataMapsMemory.h.

◆ cranksMaxCount

uint32 cmlabs::DataMapsMemoryStruct::cranksMaxCount

Capacity of the crank map (entries).

Definition at line 43 of file DataMapsMemory.h.

◆ cranksSize

uint64 cmlabs::DataMapsMemoryStruct::cranksSize

Total bytes of the crank map.

Definition at line 45 of file DataMapsMemory.h.

◆ createdTime

uint64 cmlabs::DataMapsMemoryStruct::createdTime

Creation timestamp (µs).

Definition at line 33 of file DataMapsMemory.h.

◆ requestsBitFieldSize

uint32 cmlabs::DataMapsMemoryStruct::requestsBitFieldSize

Bytes in the request map's occupancy bitfield.

Definition at line 50 of file DataMapsMemory.h.

◆ requestsMaxCount

uint32 cmlabs::DataMapsMemoryStruct::requestsMaxCount

Capacity of the request map (entries).

Definition at line 49 of file DataMapsMemory.h.

◆ requestsSize

uint64 cmlabs::DataMapsMemoryStruct::requestsSize

Total bytes of the request map.

Definition at line 51 of file DataMapsMemory.h.

◆ size

uint64 cmlabs::DataMapsMemoryStruct::size

Total segment size in bytes.

Definition at line 31 of file DataMapsMemory.h.

◆ tagsBitFieldSize

uint32 cmlabs::DataMapsMemoryStruct::tagsBitFieldSize

Bytes in the tag map's occupancy bitfield.

Definition at line 41 of file DataMapsMemory.h.

◆ tagsMaxCount

uint32 cmlabs::DataMapsMemoryStruct::tagsMaxCount

Capacity of the tag map (entries).

Definition at line 40 of file DataMapsMemory.h.

◆ tagsSize

uint64 cmlabs::DataMapsMemoryStruct::tagsSize

Total bytes of the tag map.

Definition at line 42 of file DataMapsMemory.h.

◆ typesBitFieldSize

uint32 cmlabs::DataMapsMemoryStruct::typesBitFieldSize

Bytes in the type map's occupancy bitfield.

Definition at line 35 of file DataMapsMemory.h.

◆ typesMaxCount

uint32 cmlabs::DataMapsMemoryStruct::typesMaxCount

Capacity of the type map (entries).

Definition at line 34 of file DataMapsMemory.h.

◆ typesSize

uint64 cmlabs::DataMapsMemoryStruct::typesSize

Total bytes of the type map.

Definition at line 36 of file DataMapsMemory.h.


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