Table of Contents

Class EdgeResourceSnapshot

Namespace
Qavren.Edge.Onnx
Assembly
Qavren.Edge.Onnx.dll

One reading. Every nullable member means UNKNOWN, never "no". AvailableMemoryBytes null on a desktop where GC.GetGCMemoryInfo() reports nothing usable is not a refusal, and the session host's memory pre-flight is required to skip its check rather than fail it.

public sealed record EdgeResourceSnapshot : IEquatable<EdgeResourceSnapshot>
Inheritance
EdgeResourceSnapshot
Implements
Inherited Members

Constructors

EdgeResourceSnapshot(long?, bool?, EdgeThermalState, float?, bool?, EdgeMemoryPressure?)

One reading. Every nullable member means UNKNOWN, never "no". AvailableMemoryBytes null on a desktop where GC.GetGCMemoryInfo() reports nothing usable is not a refusal, and the session host's memory pre-flight is required to skip its check rather than fail it.

Properties

AvailableMemoryBytes

Free memory the process may still take, or null if unknown.

IsLowMemory

Whether the OS considers itself low on memory, or null if unknown.

IsLowPowerMode

Apple's low-power-mode flag, or null.

LastPressure

The latched value of LastPressure.

Thermal

The thermal state; Unknown on desktop.

ThermalHeadroom

Android's GetThermalHeadroom(10), or null.