Table of Contents

Struct SystemArchetypeTouchSummary

Namespace
Typhon.Profiler
Assembly
Typhon.Profiler.dll

Per-(tick, system, archetype) entity-touch rollup row in SystemArchetypeTouches. One row per active (system, archetype) pair per tick — sparse by definition (most systems target one archetype, callbacks emit no rows). Folded from the new SchedulerSystemArchetype wire event the engine emits at parallel-query completion. Sorted by (TickNumber, SystemIndex, ArchetypeId) for binary-search range scans. Wire size 16 bytes — packs tightly so a 100k-tick / 200-system trace at one row per (system, tick) lands at ~320 MB worst case (typical: ~30-50 MB after sparsity).

public struct SystemArchetypeTouchSummary
Inherited Members

Fields

ArchetypeId

Archetype id (matches ArchetypeRecord.ArchetypeId; 0–4095 per the 12-bit allocation).

public ushort ArchetypeId

Field Value

ushort

ChunkCount

Chunks dispatched for the parallel-query bracket (sum across workers).

public uint ChunkCount

Field Value

uint

EntityCount

Entities the system processed for this archetype during this tick.

public uint EntityCount

Field Value

uint

SystemIndex

System index (matches SystemIndex).

public ushort SystemIndex

Field Value

ushort

TickNumber

Tick number.

public uint TickNumber

Field Value

uint