MatterSpecification.v13.Core § 11.13.5.1

interface ThreadMetrics {
    id: number | bigint;
    name?: string;
    stackFreeCurrent?: number;
    stackFreeMinimum?: number;
    stackSize?: number;
}

Hierarchy (view full)

Properties

id: number | bigint

The Id field shall be a server-assigned per-thread unique ID that is constant for the duration of the thread. Efforts SHOULD be made to avoid reusing ID values when possible.

MatterSpecification.v13.Core § 11.13.5.1.1

name?: string

The Name field shall be set to a vendor defined name or prefix of the software thread that is static for the duration of the thread.

MatterSpecification.v13.Core § 11.13.5.1.2

stackFreeCurrent?: number

The StackFreeCurrent field shall indicate the current amount of stack memory, in bytes, that are not being utilized on the respective thread.

MatterSpecification.v13.Core § 11.13.5.1.3

stackFreeMinimum?: number

The StackFreeMinimum field shall indicate the minimum amount of stack memory, in bytes, that has been available at any point between the current time and this attribute being reset or initialized on the respective thread. This value shall only be reset upon a Node reboot or upon receiving of the ResetWatermarks command.

MatterSpecification.v13.Core § 11.13.5.1.4

stackSize?: number

The StackSize field shall indicate the amount of stack memory, in bytes, that has been allocated for use by the respective thread.

MatterSpecification.v13.Core § 11.13.5.1.5