轨迹记录命令、事件与存储运行时

track_runtime.h 明确定义 TrackCommandKind、TrackEventKind、RecorderStatus、TrackPointBuffer、TrackStateMachine、TrackStorageWorker 和文件/总线端口。

命令

StartNewTrack、StopTrack、AppendPoint、Flush、ListTracks。当前没有 Pause 或 Resume。

资源规则

Point buffer 固定容量;默认在 8 点时 flush;worker 同时只有一个 pending command;StopTrack 和 Flush 是 critical command。

下钻:TrackCommand / TrackEvent / RecorderStatus