mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Increase queue preallocation size.
This commit is contained in:
parent
6a4f3842af
commit
bf12704b0f
@ -29,7 +29,9 @@
|
||||
namespace tracy
|
||||
{
|
||||
|
||||
static moodycamel::ConcurrentQueue<QueueItem> s_queue( QueueItemSize * 64 * 1024 );
|
||||
enum { QueuePrealloc = 256 * 1024 };
|
||||
|
||||
static moodycamel::ConcurrentQueue<QueueItem> s_queue( QueueItemSize * QueuePrealloc );
|
||||
|
||||
static moodycamel::ProducerToken& GetToken()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user