summaryrefslogtreecommitdiff
path: root/src/FrameStats.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:02:30 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:20:23 -0300
commitd2129a6e2c6348ee9630c5b5918fbcfadf4411fe (patch)
tree0ee85d9856dc5720a6371da5645b63779835dcc8 /src/FrameStats.zig
parent8b0b342f300c7ccf6b71994965cc03244545db04 (diff)
downloadpardes-d2129a6e2c6348ee9630c5b5918fbcfadf4411fe.tar.gz
pardes-d2129a6e2c6348ee9630c5b5918fbcfadf4411fe.zip
drawing: dead code goes: colors.carryTheme and Motion.speed (no caller anywhere), animation.progress (only its own tests called it), Layer.pointAt (never called), Glide.kick (one caller, the line now), a stale first column header in the frame dump, panes.zig's unused vaxis import
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/FrameStats.zig')
-rw-r--r--src/FrameStats.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/FrameStats.zig b/src/FrameStats.zig
index c27e74af..33ffd300 100644
--- a/src/FrameStats.zig
+++ b/src/FrameStats.zig
@@ -267,7 +267,6 @@ pub fn dump(stats: *const FrameStats, path: [:0]const u8) void {
const s = Spread.of(all, what);
write.line(fd, &buf, "# {t} n {d} mean {d:.0} p50 {d} p90 {d} p99 {d} max {d}\n", .{ what, s.n, s.mean, s.p50, s.p90, s.p99, s.max });
}
- write.line(fd, &buf, "# start_ms\tupdate_us\trender_us\tpresent_us\tgap_us\tmoving\tskipped\tscroll\n", .{});
const t0 = if (all[0].len != 0) all[0][0].start_ns else 0;
// The monotonic clock is the machine's: a driver lines its own times
// up with the frames' by this.