Table of Contents

Struct RuntimeTransactionLifecycleData

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

Decoded Runtime Transaction Lifecycle span. Payload: sysIdx u16, txDurUs u32, success u8 (7 B).

public readonly struct RuntimeTransactionLifecycleData
Inherited Members

Constructors

RuntimeTransactionLifecycleData(byte, long, long, ushort, uint, byte)

Constructs the decoded transaction-lifecycle record from its wire fields.

public RuntimeTransactionLifecycleData(byte threadSlot, long startTimestamp, long durationTicks, ushort sysIdx, uint txDurUs, byte success)

Parameters

threadSlot byte
startTimestamp long
durationTicks long
sysIdx ushort
txDurUs uint
success byte

Properties

DurationTicks

Span duration in Stopwatch.GetTimestamp() ticks.

public long DurationTicks { get; }

Property Value

long

StartTimestamp

Span start timestamp in Stopwatch.GetTimestamp() ticks.

public long StartTimestamp { get; }

Property Value

long

Success

Commit outcome — nonzero when committed, 0 when rolled back.

public byte Success { get; }

Property Value

byte

SysIdx

System index (DAG slot) that owned the transaction.

public ushort SysIdx { get; }

Property Value

ushort

ThreadSlot

Producer thread slot (0-255, from the thread-slot registry) the span was emitted on.

public byte ThreadSlot { get; }

Property Value

byte

TxDurUs

Transaction duration in microseconds, measured by the engine (distinct from the span's DurationTicks).

public uint TxDurUs { get; }

Property Value

uint