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

Method reset

editor/debugger/editor_performance_profiler.cpp:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void EditorPerformanceProfiler::Monitor::reset() {
80 history.clear();
81 max = 0.0f;
82 if (item) {
83 item->set_text(1, "");
84 item->set_tooltip_text(1, "");
85 }
86}
87
88String EditorPerformanceProfiler::_create_label(float p_value, Performance::MonitorType p_type) {
89 switch (p_type) {

Callers 1

startMethod · 0.45

Calls 9

begins_withMethod · 0.80
StringClass · 0.50
clearMethod · 0.45
set_textMethod · 0.45
set_tooltip_textMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
removeMethod · 0.45
queue_redrawMethod · 0.45

Tested by

no test coverage detected