MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / set_profiling

Method set_profiling

editor/debugger/editor_profiler.cpp:588–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586}
587
588void EditorProfiler::set_profiling(bool p_pressed) {
589 activate->set_pressed(p_pressed);
590 _update_button_text();
591 emit_signal(SNAME("enable_profiling"), activate->is_pressed());
592}
593
594bool EditorProfiler::is_profiling() {
595 return activate->is_pressed();

Callers 2

startMethod · 0.45
stopMethod · 0.45

Calls 2

set_pressedMethod · 0.45
is_pressedMethod · 0.45

Tested by

no test coverage detected