1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Allow checking timer implementation.

This commit is contained in:
Bartosz Taudul
2019-08-14 14:35:44 +02:00
parent e39b1abce5
commit 602c38c6c0
2 changed files with 12 additions and 3 deletions
+2
View File
@@ -440,6 +440,8 @@ public:
void RequestShutdown() { m_shutdown.store( true, std::memory_order_relaxed ); m_shutdownManual.store( true, std::memory_order_relaxed ); }
bool HasShutdownFinished() const { return m_shutdownFinished.load( std::memory_order_relaxed ); }
static bool IsTimerMonotonicRaw();
private:
enum class DequeueStatus { Success, ConnectionLost, QueueEmpty };