mirror of
https://github.com/wolfpld/tracy
synced 2025-05-05 14:43:53 +00:00
Lock mark processing skeleton.
This commit is contained in:
parent
9736be0321
commit
695b0426bf
@ -411,6 +411,9 @@ void View::Process( const QueueItem& ev )
|
|||||||
case QueueType::LockRelease:
|
case QueueType::LockRelease:
|
||||||
ProcessLockRelease( ev.lockRelease );
|
ProcessLockRelease( ev.lockRelease );
|
||||||
break;
|
break;
|
||||||
|
case QueueType::LockMark:
|
||||||
|
ProcessLockMark( ev.lockMark );
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
assert( false );
|
assert( false );
|
||||||
break;
|
break;
|
||||||
@ -560,6 +563,11 @@ void View::ProcessLockRelease( const QueueLockRelease& ev )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void View::ProcessLockMark( const QueueLockMark& ev )
|
||||||
|
{
|
||||||
|
std::lock_guard<std::mutex> lock( m_lock );
|
||||||
|
}
|
||||||
|
|
||||||
void View::CheckString( uint64_t ptr )
|
void View::CheckString( uint64_t ptr )
|
||||||
{
|
{
|
||||||
if( m_strings.find( ptr ) != m_strings.end() ) return;
|
if( m_strings.find( ptr ) != m_strings.end() ) return;
|
||||||
|
@ -68,6 +68,7 @@ private:
|
|||||||
void ProcessLockWait( const QueueLockWait& ev );
|
void ProcessLockWait( const QueueLockWait& ev );
|
||||||
void ProcessLockObtain( const QueueLockObtain& ev );
|
void ProcessLockObtain( const QueueLockObtain& ev );
|
||||||
void ProcessLockRelease( const QueueLockRelease& ev );
|
void ProcessLockRelease( const QueueLockRelease& ev );
|
||||||
|
void ProcessLockMark( const QueueLockMark& ev );
|
||||||
|
|
||||||
void CheckString( uint64_t ptr );
|
void CheckString( uint64_t ptr );
|
||||||
void CheckThreadString( uint64_t id );
|
void CheckThreadString( uint64_t id );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user