raze-gles/source/build/src/timer.cpp
2020-08-26 09:49:38 +10:00

16 lines
324 B
C++

// Build engine timer stuff
#include "timer.h"
#include "build.h"
#include "compat.h"
#include <chrono>
using namespace std;
using namespace chrono;
EDUKE32_STATIC_ASSERT((steady_clock::period::den/steady_clock::period::num) >= 1000000000);
static time_point<steady_clock> timerlastsample;
static int timerticspersec;