Skip to content

Commit

Permalink
Updated SSProfiler (Aurorastation#20506)
Browse files Browse the repository at this point in the history
Updated SSProfiler to not override the file after every dump
  • Loading branch information
FluffyGhoster authored Feb 22, 2025
1 parent e7afd53 commit 11d6467
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/controllers/subsystems/profiler.dm
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#define PROFILER_PATH(file) "./data/logs/[GLOB.round_id]/profiler/[##file]"

#define PROFILER_FILENAME "profiler.json"
#define SENDMAPS_FILENAME "sendmaps.json"
#define PROFILER_FILENAME "profiler-[round(world.time * 0.1, 10)].json"
#define SENDMAPS_FILENAME "sendmaps-[round(world.time * 0.1, 10)].json"

SUBSYSTEM_DEF(profiler)
name = "Profiler"
init_order = INIT_ORDER_PROFILER
runlevels = RUNLEVELS_DEFAULT | RUNLEVEL_LOBBY
wait = 3000
wait = 300 SECONDS
var/fetch_cost = 0
var/write_cost = 0

Expand Down

0 comments on commit 11d6467

Please sign in to comment.