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 idx = uint32_t( payload >> 32 );
const auto val = int32_t( payload & 0xFFFFFFFF ); const auto val = int32_t( payload & 0xFFFFFFFF );
m_paramCallback( idx, val ); m_paramCallback( idx, val );
TracyLfqPrepare( QueueType::ParamPingback ); TracyLfqPrepare( QueueType::AckServerQueryNoop );
TracyLfqCommit; TracyLfqCommit;
} }

View File

@ -84,7 +84,7 @@ enum class QueueType : uint8_t
TidToPid, TidToPid,
PlotConfig, PlotConfig,
ParamSetup, ParamSetup,
ParamPingback, AckServerQueryNoop,
CpuTopology, CpuTopology,
SingleStringData, SingleStringData,
SecondStringData, SecondStringData,
@ -652,7 +652,7 @@ static constexpr size_t QueueDataSize[] = {
sizeof( QueueHeader ) + sizeof( QueueTidToPid ), sizeof( QueueHeader ) + sizeof( QueueTidToPid ),
sizeof( QueueHeader ) + sizeof( QueuePlotConfig ), sizeof( QueueHeader ) + sizeof( QueuePlotConfig ),
sizeof( QueueHeader ) + sizeof( QueueParamSetup ), sizeof( QueueHeader ) + sizeof( QueueParamSetup ),
sizeof( QueueHeader ), // param pingback sizeof( QueueHeader ), // server query acknowledgement
sizeof( QueueHeader ) + sizeof( QueueCpuTopology ), sizeof( QueueHeader ) + sizeof( QueueCpuTopology ),
sizeof( QueueHeader ), // single string data sizeof( QueueHeader ), // single string data
sizeof( QueueHeader ), // second string data sizeof( QueueHeader ), // second string data

View File

@ -3062,7 +3062,7 @@ void Worker::DispatchFailure( const QueueItem& ev, const char*& ptr )
break; break;
case QueueType::SymbolInformation: case QueueType::SymbolInformation:
case QueueType::CodeInformation: case QueueType::CodeInformation:
case QueueType::ParamPingback: case QueueType::AckServerQueryNoop:
m_serverQuerySpaceLeft++; m_serverQuerySpaceLeft++;
break; break;
default: default:
@ -4343,7 +4343,7 @@ bool Worker::Process( const QueueItem& ev )
case QueueType::ParamSetup: case QueueType::ParamSetup:
ProcessParamSetup( ev.paramSetup ); ProcessParamSetup( ev.paramSetup );
break; break;
case QueueType::ParamPingback: case QueueType::AckServerQueryNoop:
m_serverQuerySpaceLeft++; m_serverQuerySpaceLeft++;
break; break;
case QueueType::CpuTopology: case QueueType::CpuTopology: