Don't send source location through the queue.

This commit is contained in:
Bartosz Taudul 2017-11-11 14:24:22 +01:00
parent 065964b216
commit 0d15d45c3a

View File

@ -327,7 +327,7 @@ void Profiler::SendSourceLocation( uint64_t ptr )
item.srcloc.r = ( srcloc->color ) & 0xFF; item.srcloc.r = ( srcloc->color ) & 0xFF;
item.srcloc.g = ( srcloc->color >> 8 ) & 0xFF; item.srcloc.g = ( srcloc->color >> 8 ) & 0xFF;
item.srcloc.b = ( srcloc->color >> 16 ) & 0xFF; item.srcloc.b = ( srcloc->color >> 16 ) & 0xFF;
s_token.ptr->enqueue<moodycamel::CanAlloc>( std::move( item ) ); AppendData( &item, QueueDataSize[item.hdr.idx] );
} }
bool Profiler::SendSourceLocationPayload( uint64_t _ptr ) bool Profiler::SendSourceLocationPayload( uint64_t _ptr )