Documentation
¶
Overview ¶
Package phaseprobe provides opt-in process-timeline instrumentation for GPU route diagnostics. It is inert unless the caller explicitly enables it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Count ¶
Count records one labelled transfer of size bytes. It is a no-op unless collection is enabled, so an ordinary decode pays one atomic load per crossing and never takes the lock.
func Dump ¶
Dump writes a stable timestamp-ordered snapshot. Event publication is lock-free so concurrent route completion cannot perturb the timed stages.
func Mark ¶
func Mark(label string)
Mark writes one absolute and process-relative timestamp. Detail must remain tab-free so analyzers can parse the stream without escaping.
func SnapshotCounts ¶
SnapshotCounts copies the current transfer census. Callers can inspect the result without holding the probe lock while device work continues.