mirror of
https://github.com/wolfpld/tracy.git
synced 2026-07-23 22:49:14 +00:00
Lock mark processing skeleton.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user