mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Deep sendmaps profiling (#6237)
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
@@ -197,6 +197,9 @@ GLOBAL_PROTECT(admin_verbs_debug)
|
||||
/client/proc/export_dynamic_json,
|
||||
/client/proc/run_dynamic_simulations,
|
||||
#endif
|
||||
#ifdef SENDMAPS_PROFILE
|
||||
/client/proc/display_sendmaps,
|
||||
#endif
|
||||
/datum/admins/proc/create_or_modify_area,
|
||||
/client/proc/check_timer_sources,
|
||||
/client/proc/toggle_cdn,
|
||||
@@ -825,3 +828,11 @@ GLOBAL_PROTECT(admin_verbs_hideable)
|
||||
|
||||
var/datum/admins/admin = GLOB.admin_datums[ckey]
|
||||
admin?.associate(src)
|
||||
|
||||
#ifdef SENDMAPS_PROFILE
|
||||
/client/proc/display_sendmaps()
|
||||
set name = "Send Maps Profile"
|
||||
set category = "Debug"
|
||||
|
||||
src << link("?debug=profile&type=sendmaps&window=test")
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user