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

Header of the machine-global Psyclone instance index shared-memory segment. More...

#include <MemoryManager.h>

Public Attributes

uint32 size
 Total size of the index segment in bytes (header + entries).
uint32 cid
 Check/magic id used to validate the segment on attach.
uint32 count
 Number of entry slots that have ever been used.

Detailed Description

Header of the machine-global Psyclone instance index shared-memory segment.

One well-known segment per machine records every Psyclone node instance currently or recently running on this computer, so tools and new instances can discover each other by port. The header is immediately followed in memory by PSYCLONE_INDEX_MAXCOUNT PsycloneIndexEntry records.

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

Definition at line 122 of file MemoryManager.h.

Member Data Documentation

◆ cid

uint32 cmlabs::PsycloneIndexStruct::cid

Check/magic id used to validate the segment on attach.

Definition at line 124 of file MemoryManager.h.

◆ count

uint32 cmlabs::PsycloneIndexStruct::count

Number of entry slots that have ever been used.

Definition at line 125 of file MemoryManager.h.

◆ size

uint32 cmlabs::PsycloneIndexStruct::size

Total size of the index segment in bytes (header + entries).

Definition at line 123 of file MemoryManager.h.


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