Files
Bubberstation/code/__DEFINES/_profile.dm
SkyratBot e28b80eca2 [MIRROR] The profiler now starts earlier into the init process. + Documents the initialization order and pipeline (#319)
* The profiler now starts earlier into the init process. + Documents the initialization order and pipeline (#52662)

* The profiler now starts earlier into the init process.
Also documents the init pipeline and order in world/New()'s codedoc.

* better early profiler

* NEWMAN!

* The profiler now starts earlier into the init process. + Documents the initialization order and pipeline

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2020-08-13 00:19:33 +02:00

5 lines
212 B
Plaintext

#if DM_BUILD >= 1506
// We don't actually care about storing the output here, this is just an easy way to ensure the profile runs first.
GLOBAL_REAL_VAR(world_init_profiler) = world.Profile(PROFILE_START)
#endif