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

Track memory alloc+free matching failures.

This commit is contained in:
Bartosz Taudul
2019-01-15 18:56:26 +01:00
parent ecf9a299de
commit 708fdfea49
2 changed files with 15 additions and 3 deletions
+2
View File
@@ -181,6 +181,7 @@ public:
{
None,
ZoneStack,
MemFree,
NUM_FAILURES
};
@@ -334,6 +335,7 @@ private:
tracy_force_inline void ProcessGpuZoneBeginImpl( GpuEvent* zone, const QueueGpuZoneBegin& ev );
void ZoneStackFailure( uint64_t thread, const ZoneEvent* ev );
void MemFreeFailure( uint64_t thread );
tracy_force_inline void CheckSourceLocation( uint64_t ptr );
void NewSourceLocation( uint64_t ptr );