1
0
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:
Bartosz Taudul
2017-12-10 22:42:39 +01:00
parent 4d9ae83abd
commit b07718ab9e
2 changed files with 27 additions and 4 deletions
+5 -1
View File
@@ -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 ) };