mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Rename ParamPingback to more generic AckServerQueryNoop.
This commit is contained in:
parent
253c3ae4c8
commit
f97223e394
@ -3009,7 +3009,7 @@ void Profiler::HandleParameter( uint64_t payload )
|
||||
const auto idx = uint32_t( payload >> 32 );
|
||||
const auto val = int32_t( payload & 0xFFFFFFFF );
|
||||
m_paramCallback( idx, val );
|
||||
TracyLfqPrepare( QueueType::ParamPingback );
|
||||
TracyLfqPrepare( QueueType::AckServerQueryNoop );
|
||||
TracyLfqCommit;
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@ enum class QueueType : uint8_t
|
||||
TidToPid,
|
||||
PlotConfig,
|
||||
ParamSetup,
|
||||
ParamPingback,
|
||||
AckServerQueryNoop,
|
||||
CpuTopology,
|
||||
SingleStringData,
|
||||
SecondStringData,
|
||||
@ -652,7 +652,7 @@ static constexpr size_t QueueDataSize[] = {
|
||||
sizeof( QueueHeader ) + sizeof( QueueTidToPid ),
|
||||
sizeof( QueueHeader ) + sizeof( QueuePlotConfig ),
|
||||
sizeof( QueueHeader ) + sizeof( QueueParamSetup ),
|
||||
sizeof( QueueHeader ), // param pingback
|
||||
sizeof( QueueHeader ), // server query acknowledgement
|
||||
sizeof( QueueHeader ) + sizeof( QueueCpuTopology ),
|
||||
sizeof( QueueHeader ), // single string data
|
||||
sizeof( QueueHeader ), // second string data
|
||||
|
@ -3062,7 +3062,7 @@ void Worker::DispatchFailure( const QueueItem& ev, const char*& ptr )
|
||||
break;
|
||||
case QueueType::SymbolInformation:
|
||||
case QueueType::CodeInformation:
|
||||
case QueueType::ParamPingback:
|
||||
case QueueType::AckServerQueryNoop:
|
||||
m_serverQuerySpaceLeft++;
|
||||
break;
|
||||
default:
|
||||
@ -4343,7 +4343,7 @@ bool Worker::Process( const QueueItem& ev )
|
||||
case QueueType::ParamSetup:
|
||||
ProcessParamSetup( ev.paramSetup );
|
||||
break;
|
||||
case QueueType::ParamPingback:
|
||||
case QueueType::AckServerQueryNoop:
|
||||
m_serverQuerySpaceLeft++;
|
||||
break;
|
||||
case QueueType::CpuTopology:
|
||||
|
Loading…
Reference in New Issue
Block a user