mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Increase queue preallocation size.
This commit is contained in:
parent
6a4f3842af
commit
bf12704b0f
@ -29,7 +29,9 @@
|
|||||||
namespace tracy
|
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()
|
static moodycamel::ProducerToken& GetToken()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user