mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #104851 from Ivorforce/tracy
Add `profiler` option to `SCons` builds, with support for `tracy` and `perfetto`.
This commit is contained in:
commit
04bc282ae7
25 changed files with 375 additions and 1 deletions
|
|
@ -42,6 +42,7 @@
|
|||
#include "core/extension/gdextension_manager.h"
|
||||
#include "core/io/xml_parser.h"
|
||||
#include "core/os/main_loop.h"
|
||||
#include "core/profiling/profiling.h"
|
||||
#include "drivers/unix/dir_access_unix.h"
|
||||
#include "drivers/unix/file_access_unix.h"
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
|
@ -364,6 +365,8 @@ void OS_Android::main_loop_begin() {
|
|||
}
|
||||
|
||||
bool OS_Android::main_loop_iterate(bool *r_should_swap_buffers) {
|
||||
GodotProfileFrameMark;
|
||||
GodotProfileZone("OS_Android::main_loop_iterate");
|
||||
if (!main_loop) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue