Merge pull request #104851 from Ivorforce/tracy
Add `profiler` option to `SCons` builds, with support for `tracy` and `perfetto`.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user