PerformanceTracker: Pass chrono values instead of us s64.

This commit is contained in:
Jordan Woyak
2025-03-05 01:36:18 -06:00
parent 225039f742
commit b2ce3fbefc
3 changed files with 7 additions and 9 deletions

View File

@ -47,7 +47,7 @@ public:
private:
PerformanceTracker m_fps_counter{"render_times.txt"};
PerformanceTracker m_vps_counter{"vblank_times.txt"};
PerformanceTracker m_speed_counter{std::nullopt, 1000000};
PerformanceTracker m_speed_counter{std::nullopt, std::chrono::seconds{1}};
double m_graph_max_time = 0.0;