mirror of
https://github.com/godotengine/godot.git
synced 2026-02-07 19:32:36 +00:00
Core: Add Apple Instruments support
This commit is contained in:
@@ -11,3 +11,7 @@ def profiler_gen_builder(target, source, env):
|
||||
file.write("#define TRACY_CALLSTACK 62\n")
|
||||
if env["profiler"] == "perfetto":
|
||||
file.write("#define GODOT_USE_PERFETTO\n")
|
||||
if env["profiler"] == "instruments":
|
||||
file.write("#define GODOT_USE_INSTRUMENTS\n")
|
||||
if env["profiler_sample_callstack"]:
|
||||
file.write("#define INSTRUMENTS_SAMPLE_CALLSTACKS\n")
|
||||
|
||||
Reference in New Issue
Block a user