Table of Contents

Enum GaugeValueKind

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

On-wire representation selector for a single gauge value inside a PerTickSnapshot payload.

public enum GaugeValueKind : byte

Fields

I64Signed = 2

8-byte signed 64-bit value (for signed deltas). Payload size: 8 B.

U32Count = 0

4-byte unsigned 32-bit count. Payload size: 4 B.

U32PercentHundredths = 3

4-byte unsigned percentage expressed as hundredths (e.g., 5025 = 50.25%). Payload size: 4 B. Reserved for future.

U64Bytes = 1

8-byte unsigned 64-bit value (typically bytes). Payload size: 8 B.

Remarks

The decoder reads the valueKind byte to determine how many trailing bytes to consume (4 or 8) and how to interpret them. Numeric values are wire-stable — never renumber. Append-only.