You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Add some important profiling hooks.
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#ifdef SDL_ENABLED
|
||||
#include "drivers/sdl/joypad_sdl.h"
|
||||
#endif
|
||||
#include "core/profiling/profiling.h"
|
||||
#include "main/main.h"
|
||||
#include "servers/display/display_server.h"
|
||||
#include "servers/rendering/rendering_server.h"
|
||||
@@ -970,6 +971,8 @@ String OS_LinuxBSD::get_system_dir(SystemDir p_dir, bool p_shared_storage) const
|
||||
}
|
||||
|
||||
void OS_LinuxBSD::run() {
|
||||
GodotProfileFrameMark;
|
||||
GodotProfileZone("OS_LinuxBSD::run");
|
||||
if (!main_loop) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user