| 375 | } |
| 376 | |
| 377 | List<float> *EditorPerformanceProfiler::get_monitor_data(const StringName &p_name) { |
| 378 | if (monitors.has(p_name)) { |
| 379 | return &monitors[p_name].history; |
| 380 | } |
| 381 | return nullptr; |
| 382 | } |
| 383 | |
| 384 | void EditorPerformanceProfiler::_notification(int p_what) { |
| 385 | switch (p_what) { |