You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Add profiler option to SCons builds.
Add `tracy` option to `profiler`. If set, a tracy profiling client will be injected into the Godot binary. # Conflicts: # platform/linuxbsd/godot_linuxbsd.cpp
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "os_linuxbsd.h"
|
||||
|
||||
#include "core/profiling/profiling.h"
|
||||
#include "main/main.h"
|
||||
|
||||
#include <unistd.h>
|
||||
@@ -93,6 +94,8 @@ int main(int argc, char *argv[]) {
|
||||
setrlimit(RLIMIT_STACK, &stack_lim);
|
||||
#endif
|
||||
|
||||
godot_init_profiler();
|
||||
|
||||
OS_LinuxBSD os;
|
||||
|
||||
setlocale(LC_CTYPE, "");
|
||||
|
||||
Reference in New Issue
Block a user