mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Move memory plot reconstruction to a background thread.
This commit is contained in:
@@ -210,6 +210,7 @@ private:
|
||||
|
||||
tracy_force_inline void MemAllocChanged( int64_t time );
|
||||
void CreateMemAllocPlot();
|
||||
void ReconstructMemAllocPlot();
|
||||
|
||||
void InsertMessageData( MessageData* msg, uint64_t thread );
|
||||
|
||||
@@ -253,7 +254,7 @@ private:
|
||||
Socket m_sock;
|
||||
std::string m_addr;
|
||||
|
||||
std::thread m_thread;
|
||||
std::thread m_thread, m_loadThread;
|
||||
std::atomic<bool> m_connected;
|
||||
std::atomic<bool> m_hasData;
|
||||
std::atomic<bool> m_shutdown;
|
||||
|
||||
Reference in New Issue
Block a user