shadPS4/src/emuTimer.cpp

14 lines
310 B
C++
Raw Normal View History

2023-10-30 07:48:52 +01:00
#include "Lib/Timer.h"
namespace Emulator::emuTimer {
static Lib::Timer timer;
void start() { timer.Start(); }
double getTimeMsec() { return timer.GetTimeMsec(); }
u64 getTimeCounter() { return timer.GetTicks(); }
u64 getTimeFrequency() { return timer.GetFrequency(); }
} // namespace Emulator::emuTimer