3 #include "AllocationHashTable.h"
20 void PushTag(
const char* tag);
23 bool RemoveAllocationRecord(
AllocationRecord* record,
bool canFallBackToGlobal =
true);
24 bool FindAllocationRecord(
AllocationRecord* record,
bool canFallBackToGlobal =
true);
25 void AnnotateAllocation(
void* allocation,
const char* type,
const char* file,
int line,
int elementCount);
26 void DumpAllocationsToCSV(std::fstream& writer);
30 void PauseTracking() { m_trackingPaused =
true; }
31 void ResumeTracking() { m_trackingPaused =
false; }
32 bool IsTrackingPaused()
const {
return m_trackingPaused; }
39 bool m_trackingPaused;
44 size_t m_totalBytesAllocatedOnThread;