Loading...
tests/MallocBench/Benchmark.h libmalloc-116.30.3 libmalloc-140.40.1
--- libmalloc/libmalloc-116.30.3/tests/MallocBench/Benchmark.h
+++ libmalloc/libmalloc-140.40.1/tests/MallocBench/Benchmark.h
@@ -38,22 +38,25 @@
         Memory()
             : resident()
             , residentMax()
+            , physicalFootprint()
         {
         }
         
-        Memory(size_t resident, size_t residentMax)
+        Memory(size_t resident, size_t residentMax, size_t physicalFootprint)
             : resident(resident)
             , residentMax(residentMax)
+            , physicalFootprint(physicalFootprint)
         {
         }
 
         Memory operator-(const Memory& other)
         {
-            return Memory(resident - other.resident, residentMax - other.residentMax);
+            return Memory(resident - other.resident, residentMax - other.residentMax, physicalFootprint - other.physicalFootprint);
         }
     
         size_t resident;
         size_t residentMax;
+        size_t physicalFootprint;
     };
 
     static double currentTimeMS();