1
0
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:
Bartosz Taudul
2018-04-29 13:40:04 +02:00
parent a8ce01eeb1
commit 3eb73b8d43
2 changed files with 100 additions and 81 deletions
+2 -1
View File
@@ -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;