You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Add support for profiling GDScript with tracy.
This adds macro `GodotProfileZoneGroupedFirstScript`, and uses interning for speedy lookups. Co-authored-by: Samuel Nicholas <nicholas.samuel@gmail.com>
This commit is contained in:
@@ -1147,6 +1147,8 @@ void OS_MacOS_NSApp::start_main() {
|
||||
}
|
||||
|
||||
void OS_MacOS_NSApp::terminate() {
|
||||
godot_cleanup_profiler();
|
||||
|
||||
if (pre_wait_observer) {
|
||||
CFRunLoopRemoveObserver(CFRunLoopGetCurrent(), pre_wait_observer, kCFRunLoopCommonModes);
|
||||
CFRelease(pre_wait_observer);
|
||||
|
||||
Reference in New Issue
Block a user