1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Detect zone end without begin failure.

This commit is contained in:
Bartosz Taudul
2019-01-16 00:45:48 +01:00
parent 7b6b6862ed
commit 49e270d8a6
2 changed files with 15 additions and 2 deletions
+2
View File
@@ -181,6 +181,7 @@ public:
{
None,
ZoneStack,
ZoneEnd,
MemFree,
NUM_FAILURES
@@ -335,6 +336,7 @@ private:
tracy_force_inline void ProcessGpuZoneBeginImpl( GpuEvent* zone, const QueueGpuZoneBegin& ev );
void ZoneStackFailure( uint64_t thread, const ZoneEvent* ev );
void ZoneEndFailure( uint64_t thread );
void MemFreeFailure( uint64_t thread );
tracy_force_inline void CheckSourceLocation( uint64_t ptr );