mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +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 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user