diff options
author | Hendrik Brucker <hendrik.brucker@mail.de> | 2024-09-10 19:40:42 +0200 |
---|---|---|
committer | Hendrik Brucker <hendrik.brucker@mail.de> | 2024-09-10 19:40:42 +0200 |
commit | c53fd9c7be09d0eac2a000816dc7439cc0f568a7 (patch) | |
tree | d9ffffbcd5c7c4b0644767aef19c231c4850309e /editor/debugger/editor_visual_profiler.h | |
parent | 27552a2f26adcdba579cd804197de3942e8cb0ec (diff) | |
download | redot-engine-c53fd9c7be09d0eac2a000816dc7439cc0f568a7.tar.gz |
Implement Autostart Feature for Profiler / Visual Profiler / Network Profiler
Co-authored-by: stmSi <stm1998sithumyo@gmail.com>
Diffstat (limited to 'editor/debugger/editor_visual_profiler.h')
-rw-r--r-- | editor/debugger/editor_visual_profiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/debugger/editor_visual_profiler.h b/editor/debugger/editor_visual_profiler.h index 492985506a..a8ed58132e 100644 --- a/editor/debugger/editor_visual_profiler.h +++ b/editor/debugger/editor_visual_profiler.h @@ -109,6 +109,7 @@ private: void _activate_pressed(); void _clear_pressed(); + void _autostart_toggled(bool p_toggled_on); String _get_time_as_text(float p_time); @@ -137,7 +138,7 @@ protected: public: void add_frame_metric(const Metric &p_metric); void set_enabled(bool p_enable); - void set_pressed(bool p_pressed); + void set_profiling(bool p_profiling); bool is_profiling(); bool is_seeking() { return seeking; } void disable_seeking(); |