From d4819e5472e4eea1f6cebfa4437cee4fe37cdb0c Mon Sep 17 00:00:00 2001 From: Werner Date: Sun, 23 Jan 2022 02:21:47 +0100 Subject: [PATCH] Adds debug log to the profiler --- code/controllers/subsystems/profiler.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/controllers/subsystems/profiler.dm b/code/controllers/subsystems/profiler.dm index 6a05f23ff71..efb59b50a7a 100644 --- a/code/controllers/subsystems/profiler.dm +++ b/code/controllers/subsystems/profiler.dm @@ -44,6 +44,7 @@ var/datum/controller/subsystem/profiler/SSprofiler last_fire_rt = . /datum/controller/subsystem/profiler/proc/DumpData() + log_debug("Profiler: dump profile after CPU spike.") admin_notice(SPAN_DANGER("Profiler: dump profile after CPU spike."), R_SERVER|R_DEV) var/name = "[game_id]_[time2text(world.timeofday, "hh-mm-ss")]"