interface State {
    currentHeapFree?: number | bigint;
    currentHeapUsed?: number | bigint;
    threadMetrics?: TypeFromFields<{
        id: FieldType<number | bigint>;
        name: OptionalFieldType<string>;
        stackFreeCurrent: OptionalFieldType<number>;
        stackFreeMinimum: OptionalFieldType<number>;
        stackSize: OptionalFieldType<number>;
    }>[];
}

Hierarchy

  • StateType
    • State

Properties

currentHeapFree?: number | bigint

The CurrentHeapFree attribute shall indicate the current amount of heap memory, in bytes, that are free for allocation. The effective amount may be smaller due to heap fragmentation or other reasons.

MatterSpecification.v13.Core § 11.13.6.2

currentHeapUsed?: number | bigint

The CurrentHeapUsed attribute shall indicate the current amount of heap memory, in bytes, that is being used.

MatterSpecification.v13.Core § 11.13.6.3

threadMetrics?: TypeFromFields<{
    id: FieldType<number | bigint>;
    name: OptionalFieldType<string>;
    stackFreeCurrent: OptionalFieldType<number>;
    stackFreeMinimum: OptionalFieldType<number>;
    stackSize: OptionalFieldType<number>;
}>[]

The ThreadMetrics attribute shall be a list of ThreadMetricsStruct structs. Each active thread on the Node shall be represented by a single entry within the ThreadMetrics attribute.

MatterSpecification.v13.Core § 11.13.6.1