- Switch to C++11 steady clock

- Move the C++11 implementation to d_main
- Remove the platform specific timer implementations
This commit is contained in:
Magnus Norddahl 2017-11-12 03:12:22 +01:00
commit 307d8931d8
22 changed files with 174 additions and 560 deletions

View file

@ -92,6 +92,7 @@
#include "g_hub.h"
#include "g_levellocals.h"
#include "events.h"
#include "d_main.h"
static FRandom pr_dmspawn ("DMSpawn");
@ -2887,7 +2888,7 @@ bool G_CheckDemoStatus (void)
int endtime = 0;
if (timingdemo)
endtime = I_GetTime (false) - starttime;
endtime = I_GetTime () - starttime;
C_RestoreCVars (); // [RH] Restore cvars demo might have changed
M_Free (demobuffer);