Latency Graph Archive: Reading Audio Timing Traces
A time-series plot helps you see whether timing spikes are isolated, clustered or recurring. This page is an archive note, not a working graph utility. The checked-in tarball under the old download name is a placeholder, so there is no verified executable, accepted input format or download offered here.
Plot a trace without the old utility
- Capture a timestamped series using a tool that reports individual samples. A summary maximum or histogram alone cannot reconstruct when a spike occurred.
- Import two columns into a spreadsheet: elapsed time and the measured value with units. For multi-threaded scheduling tests, separate the threads rather than joining unrelated points.
- Mark when you changed the workload, then compare the series with a baseline using the same vertical scale. Check time bases before comparing separate logs; matching shapes or timestamps do not prove causation.
Read timing events without over-interpreting them
Use a scatter plot or a time-series chart whose horizontal axis respects sample timing, not a category chart that spaces every row evenly. Label the value and its unit in the column title. Keep gaps as gaps: a disconnected node, missing sample or capture restart is not a zero. If a graph mixes scheduler timing in microseconds and graph delay in milliseconds, split them into separate panels or convert the units explicitly.
If two spikes line up with a new workload, repeat the original run before changing anything. Then repeat with only that candidate workload changed. A correlation can tell you where to look; it does not identify the interrupt, plugin or process that caused the delay. For cumulative graph error counters, plot increments only within the same node and uninterrupted counter sequence. Do not add driver and follower increments together as a count of physical dropouts.
Save the raw capture with the plot, together with the tool version, time base, run duration and workload. A plot is easier to review than a page of numbers, but you need the original values to confirm units, check a suspicious spike or repeat the comparison.
Use the latency measurement guide to decide what to collect. For PipeWire graph errors rather than scheduler samples, start with the pw-top diagnostic workflow.