mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Update tracy to 1664 + enable it (#17914)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// NEVER leave this on in your PR or the server will probably explode
|
||||
// #define ENABLE_BYOND_TRACY
|
||||
#define ENABLE_BYOND_TRACY
|
||||
/datum/super_early_init
|
||||
|
||||
/datum/super_early_init/New()
|
||||
@@ -7,7 +7,7 @@
|
||||
// This allows us to get the real details of everything lagging at server start.
|
||||
// world.Profile(PROFILE_START)
|
||||
#if defined(ENABLE_BYOND_TRACY)
|
||||
var/tracy_init = LIBCALL("prof.dll", "init")() // Setup Tracy integration
|
||||
var/tracy_init = LIBCALL(world.system_type == MS_WINDOWS ? "prof.dll" : "./libprof.so", "init")() // Setup Tracy integration
|
||||
if(length(tracy_init) != 0 && tracy_init[1] == ".") // it returned the output file
|
||||
to_world_log("TRACY Enabled, streaming to [tracy_init].")
|
||||
else if(tracy_init != "0")
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user