mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Change broadcast rate from 5s to 3s.
This commit is contained in:
@@ -1149,7 +1149,7 @@ void Profiler::Worker()
|
||||
if( m_broadcast )
|
||||
{
|
||||
auto t = std::chrono::high_resolution_clock::now().time_since_epoch().count();
|
||||
if( t - m_lastBroadcast > 5000000000 ) // 5s
|
||||
if( t - m_lastBroadcast > 3000000000 ) // 3s
|
||||
{
|
||||
m_lastBroadcast = t;
|
||||
m_broadcast->Send( 8087, broadcastMsg, broadcastLen );
|
||||
|
||||
Reference in New Issue
Block a user