mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
16 lines
324 B
C++
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;
|