Table of Contents

Class MemoryAllocSource

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

Interned call-site tags for MemoryAllocEvent. The u16 sourceTag field of the record identifies which logical subsystem performed the allocation so the viewer can colour-code markers and compute per-subsystem aggregates.

public static class MemoryAllocSource
Inheritance
MemoryAllocSource
Inherited Members

Remarks

Unlike the profiler's string-interning table (NamedSpan), these are compile-time constants — no runtime name table is needed. Numeric values are wire-stable; append new entries to the end, never renumber.

Value Unattributed (0) is the sentinel for allocations emitted without an explicit tag — useful during incremental instrumentation rollout when a call site hasn't been classified yet.

Fields

MemoryBlockArray

General-purpose MemoryBlockArray allocations (managed blocks under GC.AllocateArray).

public const ushort MemoryBlockArray = 5

Field Value

ushort

PageCache

Page cache backing storage allocated by PagedMMF at construction.

public const ushort PageCache = 2

Field Value

ushort

TransientStore

TransientStore block allocations.

public const ushort TransientStore = 3

Field Value

ushort

Unattributed

Allocation without an explicit source tag. Default when a call site has not been classified.

public const ushort Unattributed = 0

Field Value

ushort

WalCommitBuffer

WAL commit buffer backing storage.

public const ushort WalCommitBuffer = 4

Field Value

ushort

WalStaging

WAL staging buffers rented from StagingBufferPool.

public const ushort WalStaging = 1

Field Value

ushort