4jcraft/Minecraft.World/Util/PerformanceTimer.h
2026-03-06 11:50:22 -06:00

13 lines
206 B
C++

#pragma once
class PerformanceTimer
{
private:
LARGE_INTEGER m_qwStartTime;
float m_fSecsPerTick;
public:
PerformanceTimer();
void Reset();
void PrintElapsedTime(const std::wstring &description);
};