diff options
| author | hachem <im@hachem.wtf> | 2026-09-01 16:58:48 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-01 16:58:48 +0200 |
| commit | e7e423c25754b0161c0d0d0273b03a57de6b8922 (patch) | |
| tree | eeccda3d6d20f397e5097566af4aa2dfeb40d8c2 /src/ui/ui.h | |
| parent | 37098d4db1195d3f18f396d839b4eda6942b1f8c (diff) | |
feat: attempt to add a profiler...didn't work
Diffstat (limited to 'src/ui/ui.h')
| -rw-r--r-- | src/ui/ui.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h index 436bfc4..5730059 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -4,6 +4,7 @@ #include "ui/animated_image.h" #include "ui/image_renderer.h" #include "ui/preferences.h" +#include "ui/profiler.h" #include "ui/source_view.h" #include <cstdint> @@ -49,6 +50,7 @@ namespace Hsdbg bool symbols = true; bool disassembly = true; bool console = true; + bool profiler = true; bool demo = false; }; @@ -72,6 +74,7 @@ namespace Hsdbg auto draw_symbols_panel(Debugger& debugger) -> void; auto draw_disassembly_panel(Debugger& debugger) -> void; auto draw_console_panel(Debugger& debugger) -> void; + auto draw_profiler_panel(Debugger& debugger) -> void; auto push_console(std::string line) -> void; auto report(const Result<void>& result, std::string_view action) -> void; @@ -82,6 +85,7 @@ namespace Hsdbg Window* m_window = nullptr; SourceView m_source_view; + Profiler m_profiler; PanelVisibility m_visible; Preferences m_preferences; @@ -109,6 +113,7 @@ namespace Hsdbg std::string m_target_input; std::string m_symbol_filter; std::string m_source_filter; + std::string m_trace_input; uint64_t m_followed_stop = 0; std::filesystem::path m_followed_target; |
