1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

UDP broadcast loop.

This commit is contained in:
Bartosz Taudul
2019-06-17 02:25:09 +02:00
parent 40e517594b
commit e609c0fdce
2 changed files with 31 additions and 0 deletions
+4
View File
@@ -47,6 +47,7 @@ namespace tracy
class GpuCtx;
class Profiler;
class Socket;
class UdpBroadcast;
struct GpuCtxWrapper
{
@@ -516,6 +517,7 @@ private:
std::atomic<bool> m_shutdownManual;
std::atomic<bool> m_shutdownFinished;
Socket* m_sock;
UdpBroadcast* m_broadcast;
bool m_noExit;
std::atomic<uint32_t> m_zoneId;
@@ -550,6 +552,8 @@ private:
#else
void ProcessSysTime() {}
#endif
uint64_t m_lastBroadcast = 0;
};
};