Pre-allocate space for 64K events in queue.

This commit is contained in:
Bartosz Taudul 2017-09-24 13:40:04 +02:00
parent 9a46cbeb84
commit 6a4f3842af

View File

@ -29,7 +29,7 @@
namespace tracy
{
static moodycamel::ConcurrentQueue<QueueItem> s_queue;
static moodycamel::ConcurrentQueue<QueueItem> s_queue( QueueItemSize * 64 * 1024 );
static moodycamel::ProducerToken& GetToken()
{