mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add some important profiling hooks.
This commit is contained in:
parent
e80194e31f
commit
c3747884da
14 changed files with 118 additions and 10 deletions
|
|
@ -41,6 +41,7 @@
|
|||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/os/main_loop.h"
|
||||
#include "core/profiling/profiling.h"
|
||||
#import "drivers/apple/os_log_logger.h"
|
||||
#include "main/main.h"
|
||||
|
||||
|
|
@ -205,6 +206,9 @@ bool OS_AppleEmbedded::iterate() {
|
|||
return true;
|
||||
}
|
||||
|
||||
GodotProfileFrameMark;
|
||||
GodotProfileZone("OS_AppleEmbedded::iterate");
|
||||
|
||||
if (DisplayServer::get_singleton()) {
|
||||
DisplayServer::get_singleton()->process_events();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue