Table of Contents

Struct QueryArgsData

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

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

threadSlot byte

Typhon thread slot.

timestamp long

Emit timestamp, in Stopwatch ticks.

evaluatorCount ushort

Number of thresholds in thresholdsBlob.

thresholdsBlob ReadOnlyMemory<byte>

Packed i64 threshold constants (8 bytes each).

Properties

EvaluatorCount

Number of threshold constants packed in ThresholdsBlob.

public ushort EvaluatorCount { get; }

Property Value

ushort

ThreadSlot

Typhon thread slot the args were emitted on.

public byte ThreadSlot { get; }

Property Value

byte

ThresholdsBlob

Packed array of i64 widened threshold constants — EvaluatorCount * 8 bytes.

public ReadOnlyMemory<byte> ThresholdsBlob { get; }

Property Value

ReadOnlyMemory<byte>

Timestamp

Emit timestamp, in Stopwatch ticks.

public long Timestamp { get; }

Property Value

long

Methods

GetThreshold(int)

Read the i-th threshold from the packed blob.

public long GetThreshold(int index)

Parameters

index int

Returns

long