mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
Fixes multibuild - It appears I cant do CI properly (#19637)
* It appears I cant do CI properly * AAAAAAA * ugh * Its clear I am out of fucks to give
This commit is contained in:
@@ -38,11 +38,11 @@ SUBSYSTEM_DEF(profiler)
|
||||
// You cant proc-call onto /world
|
||||
/datum/controller/subsystem/profiler/proc/StartProfiling()
|
||||
world.Profile(PROFILE_START)
|
||||
world.Profile(PROFILE_START, type = "sendmaps")
|
||||
world.Profile(PROFILE_START, "sendmaps")
|
||||
|
||||
/datum/controller/subsystem/profiler/proc/StopProfiling()
|
||||
world.Profile(PROFILE_STOP)
|
||||
world.Profile(PROFILE_STOP, type = "sendmaps")
|
||||
world.Profile(PROFILE_STOP, "sendmaps")
|
||||
|
||||
// Write the file while also cost tracking
|
||||
/datum/controller/subsystem/profiler/proc/DumpFile()
|
||||
@@ -51,7 +51,7 @@ SUBSYSTEM_DEF(profiler)
|
||||
// FETCH PROC PROFILE //
|
||||
|
||||
// Fetch info
|
||||
var/current_profile_data = world.Profile(PROFILE_REFRESH, format = "json")
|
||||
var/current_profile_data = world.Profile(PROFILE_REFRESH, "json")
|
||||
nfetch_cost = MC_AVERAGE(nfetch_cost, TICK_DELTA_TO_MS(TICK_USAGE_REAL - timer))
|
||||
CHECK_TICK // this shouldnt sleep given its being called from fire() but ehhhhhhhhhhhhhhhh
|
||||
|
||||
@@ -73,7 +73,7 @@ SUBSYSTEM_DEF(profiler)
|
||||
// FETCH MAPTICK PROFILE //
|
||||
|
||||
// Fetch info
|
||||
var/current_sendmaps_data = world.Profile(PROFILE_REFRESH, type = "sendmaps", format = "json")
|
||||
var/current_sendmaps_data = world.Profile(PROFILE_REFRESH, "sendmaps", "json")
|
||||
mfetch_cost = MC_AVERAGE(mfetch_cost, TICK_DELTA_TO_MS(TICK_USAGE_REAL - timer))
|
||||
CHECK_TICK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user