mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Pre-allocate space for 64K events in queue.
This commit is contained in:
parent
9a46cbeb84
commit
6a4f3842af
@ -29,7 +29,7 @@
|
|||||||
namespace tracy
|
namespace tracy
|
||||||
{
|
{
|
||||||
|
|
||||||
static moodycamel::ConcurrentQueue<QueueItem> s_queue;
|
static moodycamel::ConcurrentQueue<QueueItem> s_queue( QueueItemSize * 64 * 1024 );
|
||||||
|
|
||||||
static moodycamel::ProducerToken& GetToken()
|
static moodycamel::ProducerToken& GetToken()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user