This commit is contained in:
Martin Slachta
2026-07-18 14:31:15 +02:00
commit a04f0dc262
3343 changed files with 1140208 additions and 0 deletions
@@ -0,0 +1,24 @@
#pragma once
#include "runtime/LockStep.hpp"
namespace tw::dbg::tools {
class PerformanceStatsGui {
private:
LockStep& m_lockstep;
std::vector<uint32_t> fps_history;
std::vector<uint32_t> frame_idxs;
uint32_t fps_history_idx = 0;
uint32_t frame_idx = 0;
bool is_plot_filled = false;
public:
PerformanceStatsGui(LockStep& lock_step);
void draw();
};
}