Tesseract-Engine/src/Engine/ScopedTimer.h
OusmBlueNinja 8d255731e6 Read Descriptio
Added:
- Engine Profiler
- Playback
- Lua Math Library
- Temp Folder Access
2024-12-28 20:50:39 -06:00

18 lines
299 B
C++

// ScopedTimer.h
#pragma once
#include <string>
#include <chrono>
class Profiler; // Forward declaration
class ScopedTimer {
public:
ScopedTimer(const std::string& name);
~ScopedTimer();
private:
std::string m_Name;
std::chrono::high_resolution_clock::time_point m_StartTime;
};