Struct QueryArgsData
Decoded form of a QueryArgs record.
public readonly struct QueryArgsData
- Inherited Members
Constructors
QueryArgsData(byte, long, ushort, ReadOnlyMemory<byte>)
Construct decoded per-execution query args.
public QueryArgsData(byte threadSlot, long timestamp, ushort evaluatorCount, ReadOnlyMemory<byte> thresholdsBlob)
Parameters
threadSlotbyteTyphon thread slot.
timestamplongEmit timestamp, in Stopwatch ticks.
evaluatorCountushortNumber of thresholds in
thresholdsBlob.thresholdsBlobReadOnlyMemory<byte>Packed i64 threshold constants (8 bytes each).
Properties
EvaluatorCount
Number of threshold constants packed in ThresholdsBlob.
public ushort EvaluatorCount { get; }
Property Value
ThreadSlot
Typhon thread slot the args were emitted on.
public byte ThreadSlot { get; }
Property Value
ThresholdsBlob
Packed array of i64 widened threshold constants — EvaluatorCount * 8 bytes.
public ReadOnlyMemory<byte> ThresholdsBlob { get; }
Property Value
Timestamp
Emit timestamp, in Stopwatch ticks.
public long Timestamp { get; }
Property Value
Methods
GetThreshold(int)
Read the i-th threshold from the packed blob.
public long GetThreshold(int index)
Parameters
indexint