Rename ParamPingback to more generic AckServerQueryNoop.

This commit is contained in:
Bartosz Taudul 2021-02-03 21:47:03 +01:00
parent 253c3ae4c8
commit f97223e394
3 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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: