Struct PageCacheBackpressureEventData
Decoded form of a PageCacheBackpressure event.
public readonly struct PageCacheBackpressureEventData
- Inherited Members
Constructors
PageCacheBackpressureEventData(byte, long, long, ulong, ulong, ulong, ulong, int, int, int, ushort)
Construct a decoded page-cache backpressure event.
public PageCacheBackpressureEventData(byte threadSlot, long startTimestamp, long durationTicks, ulong spanId, ulong parentSpanId, ulong traceIdHi, ulong traceIdLo, int retryCount, int dirtyCount, int epochCount, ushort sourceLocationId = 0)
Parameters
threadSlotbyteTyphon thread slot.
startTimestamplongSpan start, in Stopwatch ticks.
durationTickslongStall duration, in Stopwatch ticks.
spanIdulongSpan id.
parentSpanIdulongParent span id, or 0.
traceIdHiulongHigh 64 bits of the trace id, or 0.
traceIdLoulongLow 64 bits of the trace id, or 0.
retryCountintAllocation retries before a page freed up.
dirtyCountintDirty page count at stall time.
epochCountintEpoch-protected page count at stall time.
sourceLocationIdushortSource-location id, or 0 when no source attribution was carried.
Properties
DirtyCount
Count of dirty pages in the cache at the time of the stall.
public int DirtyCount { get; }
Property Value
DurationTicks
Span duration (length of the stall), in Stopwatch ticks.
public long DurationTicks { get; }
Property Value
EpochCount
Count of epoch-protected pages in the cache at the time of the stall.
public int EpochCount { get; }
Property Value
HasSourceLocation
True when the record carried a non-zero SourceLocationId.
public bool HasSourceLocation { get; }
Property Value
HasTraceContext
public bool HasTraceContext { get; }
Property Value
ParentSpanId
Span id of the parent span, or 0 when none.
public ulong ParentSpanId { get; }
Property Value
RetryCount
Number of allocation retries the writer spun through before a page freed up.
public int RetryCount { get; }
Property Value
SourceLocationId
Source-location id assigned by SourceLocationGenerator (#302). Zero when the wire record didn't carry source attribution.
public ushort SourceLocationId { get; }
Property Value
SpanId
Span id of this event.
public ulong SpanId { get; }
Property Value
StartTimestamp
Span start timestamp, in Stopwatch ticks.
public long StartTimestamp { get; }
Property Value
ThreadSlot
Typhon thread slot the backpressure stall was observed on.
public byte ThreadSlot { get; }
Property Value
TraceIdHi
High 64 bits of the W3C trace id. 0 when no trace context was carried — see HasTraceContext.
public ulong TraceIdHi { get; }
Property Value
TraceIdLo
Low 64 bits of the W3C trace id. 0 when no trace context was carried — see HasTraceContext.
public ulong TraceIdLo { get; }