mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +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:
|
||||
ProcessLockRelease( ev.lockRelease );
|
||||
break;
|
||||
case QueueType::LockMark:
|
||||
ProcessLockMark( ev.lockMark );
|
||||
break;
|
||||
default:
|
||||
assert( false );
|
||||
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 )
|
||||
{
|
||||
if( m_strings.find( ptr ) != m_strings.end() ) return;
|
||||
|
@ -68,6 +68,7 @@ private:
|
||||
void ProcessLockWait( const QueueLockWait& ev );
|
||||
void ProcessLockObtain( const QueueLockObtain& ev );
|
||||
void ProcessLockRelease( const QueueLockRelease& ev );
|
||||
void ProcessLockMark( const QueueLockMark& ev );
|
||||
|
||||
void CheckString( uint64_t ptr );
|
||||
void CheckThreadString( uint64_t id );
|
||||
|
Loading…
Reference in New Issue
Block a user