Skip to content

Add replay controls to Frame statistics and Find zone #1340

@JunKnows

Description

@JunKnows

#1339

Summary

This PR adds a replay mode to Tracy's statistics views so users can
watch histograms and summary statistics evolve frame by frame instead
of only seeing the final aggregated result.

The feature is implemented in both:

  • Frame statistics
  • Find zone

What changed

  • Added a Replay control next to Limit to view in Frame statistics
  • Added a Replay control next to Limit range in Find zone
  • Added replay speed selection for both panels
  • Added pause/continue behavior during replay
  • Added an Exit action to leave replay mode while paused
  • Made replay respect the active frame bounds:
    • full frame range when no limit is enabled
    • limited frame range when Limit to view / Limit range is enabled
  • Updated statistics incrementally during replay so the histogram and
    derived values build up progressively
  • Kept histogram axes fixed to the full replay range during playback
    to avoid distracting rescaling
  • Avoided initial flashing by starting replay from a stable non-empty
    state when possible
  • Kept the replay toolbar layout and interaction consistent between
    both statistics panels

Why

This makes it much easier to understand how timing distributions form
over time, especially when investigating frame-local behavior or
narrowing analysis to a limited range.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions