mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-17 20:30:46 +01:00
e5d5b3769a
* draft ss atoms update * . * . * . * low wall * do that when not asleep * late init handling * . * smes * try this
13 lines
415 B
Plaintext
13 lines
415 B
Plaintext
#define BAD_INIT_QDEL_BEFORE 1
|
|
#define BAD_INIT_DIDNT_INIT 2
|
|
#define BAD_INIT_SLEPT 4
|
|
#define BAD_INIT_NO_HINT 8
|
|
|
|
#ifdef PROFILE_MAPLOAD_INIT_ATOM
|
|
#define PROFILE_INIT_ATOM_BEGIN(...) var/__profile_stat_time = TICK_USAGE
|
|
#define PROFILE_INIT_ATOM_END(atom) mapload_init_times[##atom.type] += TICK_USAGE_TO_MS(__profile_stat_time)
|
|
#else
|
|
#define PROFILE_INIT_ATOM_BEGIN(...)
|
|
#define PROFILE_INIT_ATOM_END(...)
|
|
#endif
|