mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Update thread time range on lock event insert.
This commit is contained in:
parent
dc981550a1
commit
8ced8a457c
@ -2008,6 +2008,10 @@ void Worker::InsertLockEvent( LockMap& lockmap, LockEvent* lev, uint64_t thread
|
||||
it = timeline.insert( it, lev );
|
||||
UpdateLockCount( lockmap, std::distance( timeline.begin(), it ) );
|
||||
}
|
||||
|
||||
auto& range = lockmap.range[it->second];
|
||||
if( range.start > lt ) range.start = lt;
|
||||
if( range.end < lt ) range.end = lt;
|
||||
}
|
||||
|
||||
void Worker::CheckString( uint64_t ptr )
|
||||
|
Loading…
Reference in New Issue
Block a user