Index: base/process/process_metrics.h |
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h |
index b1f52cadbe2a7da8ab7160485ea1d30e21499b0b..500b6c1c4730bfded45f4f8fbbd0a55480007a28 100644 |
--- a/base/process/process_metrics.h |
+++ b/base/process/process_metrics.h |
@@ -543,6 +543,12 @@ BASE_EXPORT MachVMRegionResult GetBasicInfo(mach_port_t task, |
vm_region_basic_info_64* info); |
#endif // defined(OS_MACOSX) && !defined(OS_IOS) |
+// Returns total memory usage of malloc. |
+BASE_EXPORT size_t GetMallocUsage(); |
Primiano Tucci (use gerrit)
2017/06/14 12:10:32
I defer this to mark@ but just pointing out that
keishi
2017/06/14 13:21:39
Done.
|
+ |
+// Returns total memory usage of partition alloc. |
+BASE_EXPORT size_t GetPartitionAllocUsage(); |
+ |
} // namespace base |
#endif // BASE_PROCESS_PROCESS_METRICS_H_ |