mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Preserve valid order of server query acknowledgements.
This commit is contained in:
parent
9b5cc3352a
commit
9cfc36f92e
@ -569,16 +569,20 @@ static uint64_t GetPid()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void AckServerQuery()
|
void Profiler::AckServerQuery()
|
||||||
{
|
{
|
||||||
TracyLfqPrepare( QueueType::AckServerQueryNoop );
|
QueueItem item;
|
||||||
TracyLfqCommit;
|
MemWrite( &item.hdr.type, QueueType::AckServerQueryNoop );
|
||||||
|
NeedDataSize( QueueDataSize[(int)QueueType::AckServerQueryNoop] );
|
||||||
|
AppendDataUnsafe( &item, QueueDataSize[(int)QueueType::AckServerQueryNoop] );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void AckSourceCodeNotAvailable()
|
void Profiler::AckSourceCodeNotAvailable()
|
||||||
{
|
{
|
||||||
TracyLfqPrepare( QueueType::AckSourceCodeNotAvailable );
|
QueueItem item;
|
||||||
TracyLfqCommit;
|
MemWrite( &item.hdr.type, QueueType::AckSourceCodeNotAvailable );
|
||||||
|
NeedDataSize( QueueDataSize[(int)QueueType::AckSourceCodeNotAvailable] );
|
||||||
|
AppendDataUnsafe( &item, QueueDataSize[(int)QueueType::AckSourceCodeNotAvailable] );
|
||||||
}
|
}
|
||||||
|
|
||||||
static BroadcastMessage& GetBroadcastMessage( const char* procname, size_t pnsz, int& len, int port )
|
static BroadcastMessage& GetBroadcastMessage( const char* procname, size_t pnsz, int& len, int port )
|
||||||
|
@ -693,6 +693,9 @@ private:
|
|||||||
void HandleSymbolCodeQuery( uint64_t symbol, uint32_t size );
|
void HandleSymbolCodeQuery( uint64_t symbol, uint32_t size );
|
||||||
void HandleSourceCodeQuery();
|
void HandleSourceCodeQuery();
|
||||||
|
|
||||||
|
void AckServerQuery();
|
||||||
|
void AckSourceCodeNotAvailable();
|
||||||
|
|
||||||
void CalibrateTimer();
|
void CalibrateTimer();
|
||||||
void CalibrateDelay();
|
void CalibrateDelay();
|
||||||
void ReportTopology();
|
void ReportTopology();
|
||||||
|
Loading…
Reference in New Issue
Block a user