Skip to content
Start free evaluation

PDComm.GemProgramState

Struct

Represents the counters of a process program store.

public readonly record struct GemProgramState

Parameters

NameDescription
ProgramCountThe number of stored programs.
IdentifierBytesThe total bytes of all stored PPIDs.
BodyBytesThe total payload bytes of all stored bodies.
GrantCountThe number of outstanding S7F1 grants.
ReservedBodyBytesThe total body length reserved by outstanding grants.
PersistentWhether the store is backed by a storage file.

Members

GemProgramState

Constructor

Represents the counters of a process program store.

public GemProgramState(nuint ProgramCount, nuint IdentifierBytes, nuint BodyBytes, nuint GrantCount, nuint ReservedBodyBytes, bool Persistent)

Parameters

NameDescription
ProgramCountThe number of stored programs.
IdentifierBytesThe total bytes of all stored PPIDs.
BodyBytesThe total payload bytes of all stored bodies.
GrantCountThe number of outstanding S7F1 grants.
ReservedBodyBytesThe total body length reserved by outstanding grants.
PersistentWhether the store is backed by a storage file.

BodyBytes

Property

The total payload bytes of all stored bodies.

public nuint BodyBytes { get; init; }

GrantCount

Property

The number of outstanding S7F1 grants.

public nuint GrantCount { get; init; }

IdentifierBytes

Property

The total bytes of all stored PPIDs.

public nuint IdentifierBytes { get; init; }

Persistent

Property

Whether the store is backed by a storage file.

public bool Persistent { get; init; }

ProgramCount

Property

The number of stored programs.

public nuint ProgramCount { get; init; }

ReservedBodyBytes

Property

The total body length reserved by outstanding grants.

public nuint ReservedBodyBytes { get; init; }