Mesen/Utilities/Timer.h
2016-12-17 23:14:47 -05:00

17 lines
236 B
C++

#pragma once
#include "stdafx.h"
class Timer
{
private:
#ifdef WIN32
double _frequency = 0.0;
#endif
uint64_t _start;
public:
Timer();
void Reset();
double GetElapsedMS();
void WaitUntil(double targetMillisecond);
};