Shift+F3 debug menu (#18065)

* F3 debug menu

* Some tweaks

* So that escalated

* Update code/controllers/subsystem.dm

* Update code/controllers/subsystem/debugview.dm

* Charlie tweaks
This commit is contained in:
AffectedArc07
2022-06-26 20:10:09 +01:00
committed by GitHub
parent d43eb77b25
commit d538100ceb
34 changed files with 172 additions and 66 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ SUBSYSTEM_DEF(profiler)
/// Time it took to send the stuff down FFI for redis (ms)
var/send_ffi_cost = 0
/datum/controller/subsystem/profiler/stat_entry()
..("F:[round(fetch_cost, 1)]ms | W:[round(write_cost, 1)]ms | SE:[round(send_encode_cost, 1)]ms | SF:[round(send_ffi_cost, 1)]ms")
/datum/controller/subsystem/profiler/get_stat_details()
return "F:[round(fetch_cost, 1)]ms | W:[round(write_cost, 1)]ms | SE:[round(send_encode_cost, 1)]ms | SF:[round(send_ffi_cost, 1)]ms"
/datum/controller/subsystem/profiler/Initialize()
if(!GLOB.configuration.general.enable_auto_profiler)