Struct SchedulerOverloadDetectorData
Decoded Scheduler OverloadDetector instant snapshot (per-tick gauge sample). Payload:
tick i64, overrunRatio f32, consecutiveOverrun u16, consecutiveUnderrun u16,
consecutiveQueueGrowth u16, queueDepth i32, level u8, multiplier u8 (24 B).
public readonly struct SchedulerOverloadDetectorData
- Inherited Members
Constructors
SchedulerOverloadDetectorData(byte, long, long, float, ushort, ushort, ushort, int, byte, byte)
Constructs the decoded overload-detector sample from its wire fields.
public SchedulerOverloadDetectorData(byte threadSlot, long timestamp, long tick, float overrunRatio, ushort consecutiveOverrun, ushort consecutiveUnderrun, ushort consecutiveQueueGrowth, int queueDepth, byte level, byte multiplier)
Parameters
threadSlotbytetimestamplongticklongoverrunRatiofloatconsecutiveOverrunushortconsecutiveUnderrunushortconsecutiveQueueGrowthushortqueueDepthintlevelbytemultiplierbyte
Properties
ConsecutiveOverrun
Consecutive ticks above the overrun threshold at sample time.
public ushort ConsecutiveOverrun { get; }
Property Value
ConsecutiveQueueGrowth
Consecutive ticks the scheduler queue grew at sample time.
public ushort ConsecutiveQueueGrowth { get; }
Property Value
ConsecutiveUnderrun
Consecutive ticks below the de-escalation ratio at sample time.
public ushort ConsecutiveUnderrun { get; }
Property Value
Level
OverloadDetector level (0 = Normal, up to 4 = PlayerShedding).
public byte Level { get; }
Property Value
Multiplier
Effective tick-rate multiplier at sample time (1 = full rate; > 1 = throttled).
public byte Multiplier { get; }
Property Value
OverrunRatio
Ratio of actual tick duration to the target period (> 1 = overran the budget, < 1 = ran under).
public float OverrunRatio { get; }
Property Value
QueueDepth
Scheduler queue depth (pending work items) at sample time.
public int QueueDepth { get; }
Property Value
ThreadSlot
Producer thread slot (0-255, from the thread-slot registry) the sample was emitted on.
public byte ThreadSlot { get; }
Property Value
Tick
Engine tick number this per-tick sample belongs to.
public long Tick { get; }
Property Value
Timestamp
Emit timestamp in Stopwatch.GetTimestamp() ticks.
public long Timestamp { get; }