mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Add server query queue.
This commit is contained in:
parent
c07c6d11b7
commit
57dff0abc9
@ -1728,6 +1728,7 @@ void Worker::Exec()
|
||||
}
|
||||
}
|
||||
|
||||
m_serverQuerySpaceLeft = m_sock.GetSendBufSize() / ServerQueryPacketSize;
|
||||
m_hasData.store( true, std::memory_order_release );
|
||||
|
||||
LZ4_setStreamDecode( m_stream, nullptr, 0 );
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "../common/TracyForceInline.hpp"
|
||||
#include "../common/TracyMutex.hpp"
|
||||
#include "../common/TracyQueue.hpp"
|
||||
#include "../common/TracyProtocol.hpp"
|
||||
#include "../common/TracySocket.hpp"
|
||||
#include "tracy_flat_hash_map.hpp"
|
||||
#include "TracyEvent.hpp"
|
||||
@ -513,6 +514,9 @@ private:
|
||||
FailureData m_failureData;
|
||||
|
||||
PlotData* m_sysTimePlot = nullptr;
|
||||
|
||||
Vector<ServerQueryPacket> m_serverQueryQueue;
|
||||
size_t m_serverQuerySpaceLeft;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user