mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Update tracy to 1664 + enable it (#11110)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
565df7fb2d
commit
56db86d29d
@@ -7,7 +7,7 @@
|
|||||||
// This allows us to get the real details of everything lagging at server start.
|
// This allows us to get the real details of everything lagging at server start.
|
||||||
// world.Profile(PROFILE_START)
|
// world.Profile(PROFILE_START)
|
||||||
#if defined(ENABLE_BYOND_TRACY)
|
#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
|
if(length(tracy_init) != 0 && tracy_init[1] == ".") // it returned the output file
|
||||||
to_world_log("TRACY Enabled, streaming to [tracy_init].")
|
to_world_log("TRACY Enabled, streaming to [tracy_init].")
|
||||||
else if(tracy_init != "0")
|
else if(tracy_init != "0")
|
||||||
|
|||||||
BIN
libprof.so
Normal file
BIN
libprof.so
Normal file
Binary file not shown.
Reference in New Issue
Block a user