mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
26 lines
280 B
C++
Executable File
26 lines
280 B
C++
Executable File
#ifndef __TRACYPROFILER_HPP__
|
|
#define __TRACYPROFILER_HPP__
|
|
|
|
#include <atomic>
|
|
#include <thread>
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
class Profiler
|
|
{
|
|
public:
|
|
Profiler();
|
|
~Profiler();
|
|
|
|
private:
|
|
void Worker();
|
|
|
|
std::thread m_thread;
|
|
std::atomic<bool> m_shutdown;
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|