Table of Contents

Class PageCacheBackpressureCodec

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

Wire codec for PageCacheBackpressure. Payload: [i32 retryCount][i32 dirtyCount][i32 epochCount].

public static class PageCacheBackpressureCodec
Inheritance
PageCacheBackpressureCodec
Inherited Members

Methods

ComputeSize(bool)

Total on-wire record size in bytes for a backpressure event.

public static int ComputeSize(bool hasTraceContext)

Parameters

hasTraceContext bool

Whether a 16-byte trace context is included in the span header.

Returns

int

Decode(ReadOnlySpan<byte>)

Decode a PageCacheBackpressure record into structured form.

public static PageCacheBackpressureEventData Decode(ReadOnlySpan<byte> source)

Parameters

source ReadOnlySpan<byte>

Returns

PageCacheBackpressureEventData