extra buffer precautions to not exhaust DMem, format better + perf history nerf

This commit is contained in:
lizzie 2026-01-16 08:46:20 +00:00
parent e21c253923
commit 3934b307c6
3 changed files with 16 additions and 31 deletions

View file

@ -60,7 +60,11 @@ private:
std::size_t current_index{0};
/// Stores an hour of historical frametime data useful for processing and tracking performance
/// regressions with code changes.
#ifdef __OPENORBIS__
std::array<double, 60> perf_history{};
#else
std::array<double, 216000> perf_history{};
#endif
/// Point when the cumulative counters were reset
Clock::time_point reset_point = Clock::now();