forked from mirrors/kolyah35-minecraft-pe-0.6.1
FIX: i fucking wrote profiler just to find that sleep function takes SECONDS arg 😭😭😭😭😭😭😭😭😭😭
This commit is contained in:
parent
b0fa2b820c
commit
fadcf3a7d0
9 changed files with 133 additions and 172 deletions
|
|
@ -10,6 +10,12 @@
|
|||
#define TIMER_PUSH(x) PerfTimer::push(x)
|
||||
#define TIMER_POP() PerfTimer::pop()
|
||||
#define TIMER_POP_PUSH(x) PerfTimer::popPush(x)
|
||||
#elif defined(SERVER_PROFILER)
|
||||
#include "ServerProfiler.h"
|
||||
|
||||
#define TIMER_PUSH(x) ServerProfiler::push(x)
|
||||
#define TIMER_POP() ServerProfiler::pop()
|
||||
#define TIMER_POP_PUSH(x) ServerProfiler::popPush(x)
|
||||
#else
|
||||
#define TIMER_PUSH(x) ((void*)0)
|
||||
#define TIMER_POP() ((void*)0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue