mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-30 12:02:24 +00:00
Automated Profiler (#9053)
Adds a lock-up detecting profiler to the game, using BYOND's new programmatic access to the profiler. The idea is that we have an SS that's roughly called every tick. This will detect a lock-up by using world.timeofday. There might be a small issue with midnight rollover but eh. Don't. Really care. A notice is printed for each printout. These can later be processed in Python.
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#define SS_PRIORITY_OVERLAY 100 // Applies overlays. May cause overlay pop-in if it gets behind.
|
||||
//#define SS_PRIORITY_DEFAULT 50 // This is defined somewhere else.
|
||||
#define SS_PRIORITY_TIMER 20 // Timed event scheduling. This is important.
|
||||
#define SS_PRIORITY_PROFILE 15
|
||||
#define SS_PRIORITY_SMOOTHING 10 // Smooth turf generation.
|
||||
#define SS_PRIORITY_ORBIT 5 // Orbit datum updates.
|
||||
#define SS_PRIORITY_ICON_UPDATE 5 // Queued icon updates. Mostly used by APCs and tables.
|
||||
|
||||
Reference in New Issue
Block a user