mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add no-op dispatch of HW samples.
This commit is contained in:
parent
7794443453
commit
64ed3d057d
@ -4461,6 +4461,12 @@ bool Worker::Process( const QueueItem& ev )
|
|||||||
case QueueType::TidToPid:
|
case QueueType::TidToPid:
|
||||||
ProcessTidToPid( ev.tidToPid );
|
ProcessTidToPid( ev.tidToPid );
|
||||||
break;
|
break;
|
||||||
|
case QueueType::HwSampleCpuCycle:
|
||||||
|
ProcessHwSampleCpuCycle( ev.hwSample );
|
||||||
|
break;
|
||||||
|
case QueueType::HwSampleInstructionRetired:
|
||||||
|
ProcessHwSampleInstructionRetired( ev.hwSample );
|
||||||
|
break;
|
||||||
case QueueType::ParamSetup:
|
case QueueType::ParamSetup:
|
||||||
ProcessParamSetup( ev.paramSetup );
|
ProcessParamSetup( ev.paramSetup );
|
||||||
break;
|
break;
|
||||||
@ -6268,6 +6274,14 @@ void Worker::ProcessTidToPid( const QueueTidToPid& ev )
|
|||||||
if( m_data.tidToPid.find( ev.tid ) == m_data.tidToPid.end() ) m_data.tidToPid.emplace( ev.tid, ev.pid );
|
if( m_data.tidToPid.find( ev.tid ) == m_data.tidToPid.end() ) m_data.tidToPid.emplace( ev.tid, ev.pid );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Worker::ProcessHwSampleCpuCycle( const QueueHwSample& ev )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void Worker::ProcessHwSampleInstructionRetired( const QueueHwSample& ev )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void Worker::ProcessParamSetup( const QueueParamSetup& ev )
|
void Worker::ProcessParamSetup( const QueueParamSetup& ev )
|
||||||
{
|
{
|
||||||
CheckString( ev.name );
|
CheckString( ev.name );
|
||||||
|
@ -679,6 +679,8 @@ private:
|
|||||||
tracy_force_inline void ProcessContextSwitch( const QueueContextSwitch& ev );
|
tracy_force_inline void ProcessContextSwitch( const QueueContextSwitch& ev );
|
||||||
tracy_force_inline void ProcessThreadWakeup( const QueueThreadWakeup& ev );
|
tracy_force_inline void ProcessThreadWakeup( const QueueThreadWakeup& ev );
|
||||||
tracy_force_inline void ProcessTidToPid( const QueueTidToPid& ev );
|
tracy_force_inline void ProcessTidToPid( const QueueTidToPid& ev );
|
||||||
|
tracy_force_inline void ProcessHwSampleCpuCycle( const QueueHwSample& ev );
|
||||||
|
tracy_force_inline void ProcessHwSampleInstructionRetired( const QueueHwSample& ev );
|
||||||
tracy_force_inline void ProcessParamSetup( const QueueParamSetup& ev );
|
tracy_force_inline void ProcessParamSetup( const QueueParamSetup& ev );
|
||||||
tracy_force_inline void ProcessCpuTopology( const QueueCpuTopology& ev );
|
tracy_force_inline void ProcessCpuTopology( const QueueCpuTopology& ev );
|
||||||
tracy_force_inline void ProcessMemNamePayload( const QueueMemNamePayload& ev );
|
tracy_force_inline void ProcessMemNamePayload( const QueueMemNamePayload& ev );
|
||||||
|
Loading…
Reference in New Issue
Block a user