mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Mirror TracyView::ShouldExit in TracyProfiler.
This commit is contained in:
@@ -73,6 +73,11 @@ Profiler* Profiler::Instance()
|
||||
return s_instance;
|
||||
}
|
||||
|
||||
bool Profiler::ShouldExit()
|
||||
{
|
||||
return s_instance->m_shutdown.load( std::memory_order_relaxed );
|
||||
}
|
||||
|
||||
void Profiler::Worker()
|
||||
{
|
||||
enum { BulkSize = TargetFrameSize / QueueItemSize };
|
||||
|
||||
Reference in New Issue
Block a user