Merge pull request #13398 from jordan-woyak/perf-tracker

PerformanceTracker: Eliminate mutex. General cleanups.
This commit is contained in:
JMC47
2025-03-23 15:21:11 -04:00
committed by GitHub
4 changed files with 125 additions and 204 deletions

View File

@ -45,7 +45,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;