mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Dequeue items from a single thread.
This commit is contained in:
parent
c7f769c52b
commit
142ef53b42
@ -1690,7 +1690,8 @@ void Profiler::ClearQueues( moodycamel::ConsumerToken& token )
|
||||
|
||||
Profiler::DequeueStatus Profiler::Dequeue( moodycamel::ConsumerToken& token )
|
||||
{
|
||||
const auto sz = GetQueue().try_dequeue_bulk( token, m_itemBuf, BulkSize );
|
||||
uint64_t threadId;
|
||||
const auto sz = GetQueue().try_dequeue_bulk_single( token, m_itemBuf, BulkSize, threadId );
|
||||
if( sz > 0 )
|
||||
{
|
||||
auto end = m_itemBuf + sz;
|
||||
|
Loading…
Reference in New Issue
Block a user