Versions in this module Expand all Collapse all v0 v0.2.0 Jan 3, 2026 Changes in this version + const CategoryLink + const CategoryNode + const CategorySync + const PhaseBegin + const PhaseComplete + const PhaseEnd + const PhaseInstant + const PhaseMetadata + const TidProcess + const TidReceive + const TidSend + const TidTransfer + func FlushGlobal() error + func GetCPUCycles() float64 + type TraceEvent struct + type TraceRecorder struct + func GetGlobalTracer() *TraceRecorder + func NewTraceRecorder(config TracerConfig) *TraceRecorder + func (tr *TraceRecorder) Clear() + func (tr *TraceRecorder) Disable() + func (tr *TraceRecorder) Enable() + func (tr *TraceRecorder) EventCount() int + func (tr *TraceRecorder) Export(filename string) error + func (tr *TraceRecorder) ExportWithMetadata(filename string, nodeNames map[int]string, threadNames map[int]string) error + func (tr *TraceRecorder) GetEvents() []TraceEvent + func (tr *TraceRecorder) IsCycleTraced(cycle int64) bool + func (tr *TraceRecorder) IsEnabled() bool + func (tr *TraceRecorder) IsNodeTraced(id int) bool + func (tr *TraceRecorder) RecordComplete(name string, category string, pid int, tid int, start float64, end float64, ...) + func (tr *TraceRecorder) RecordInstant(name string, category string, pid int, tid int, cycle float64, ...) + func (tr *TraceRecorder) RecordMetadata(name string, pid, tid int, args map[string]interface{}) + func (tr *TraceRecorder) RegisterSource(source TraceSource) + type TraceSource interface + GetTraceEvents func() []TraceEvent + ID func() int + Name func() string + type Traceable interface + GetTracer func() *TraceRecorder + SetTracer func(tracer *TraceRecorder) + type TracerConfig struct + BlockThreshold int64 + Enabled bool + EndCycle int + MinDuration int64 + NodeFilter []int + SampleRate int + StartCycle int + func DefaultConfig() TracerConfig