Small fixes
[SXSI/TextCollection.git] / HeapProfiler.cpp
index d3c46f8..348fee6 100644 (file)
@@ -37,6 +37,9 @@ void *(*HeapProfiler::old_realloc_hook)(void *, size_t, const void *);
 unsigned long HeapProfiler::GetMaxHeapConsumption() {
     return maxConsumption;
 }
+void HeapProfiler::ResetMaxHeapConsumption() {
+    maxConsumption = 0;
+}
 
 unsigned long HeapProfiler::GetHeapConsumption() {
     return consumption;