Skip to main content

Module writer

Module writer 

Source
Expand description

Trace writer: appends length-prefixed bincode records to a file.

Structs§

TraceWriter
Appends records to a trace file. Not Sync; a profiler must serialize writes (the profiler’s sink mutex does this).

Functions§

default_header
Helper to assemble a header with sensible defaults for a given workload.