Skip to main content

Module payload

Module payload 

Source
Expand description

Structured event payloads.

Payloads are plain, Copy scalar records so the hot capture path can store them into preallocated per-thread buffers with zero heap allocation per event (KatraProfiler budget: “avoid heap allocation unless justified”).

The enum layout is part of the trace format; append new variants at the end.

Structs§

CachePayload
Payload for cache events.
D3d12Payload
Payload for D3D12 calls. The call identity is in crate::EventKind; a..d carry call-specific scalar arguments.
DecompressPayload
Payload for decompression events.
FilePayload
Payload for file operations.
GpuPayload
Payload for GPU counters/samples.
IoPayload
Payload for I/O events.
KatraPayload
Payload for Katra-native events.
MemPayload
Payload for memory operations.
PresentPayload
Payload for present events.
RawPayload
Payload for future/unknown event kinds (extension escape hatch).
ShaderPayload
Payload for shader events.
SyncPayload
Payload for synchronization operations.
ThreadPayload
Payload for thread operations.
VulkanPayload
Payload for Vulkan calls. The call identity is in crate::EventKind.

Enums§

Payload
The payload of a crate::TraceEvent. Plain scalars only; append-only.