mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Track list of shared locks.
This commit is contained in:
@@ -100,7 +100,10 @@ struct LockEvent
|
||||
{
|
||||
Wait,
|
||||
Obtain,
|
||||
Release
|
||||
Release,
|
||||
WaitShared,
|
||||
ObtainShared,
|
||||
ReleaseShared
|
||||
};
|
||||
|
||||
int64_t time;
|
||||
@@ -110,6 +113,7 @@ struct LockEvent
|
||||
Type type;
|
||||
uint8_t lockCount;
|
||||
uint64_t waitList;
|
||||
uint64_t sharedList;
|
||||
};
|
||||
|
||||
enum { LockEventSize = sizeof( LockEvent ) };
|
||||
|
||||
Reference in New Issue
Block a user