From 6a4f3842af5770be146f29800758bcf4fd08e1d7 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 24 Sep 2017 13:40:04 +0200 Subject: [PATCH] Pre-allocate space for 64K events in queue. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 2c9113fa..4e0d90b5 100755 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -29,7 +29,7 @@ namespace tracy { -static moodycamel::ConcurrentQueue s_queue; +static moodycamel::ConcurrentQueue s_queue( QueueItemSize * 64 * 1024 ); static moodycamel::ProducerToken& GetToken() {