summaryrefslogtreecommitdiffstats
path: root/chrome/test/perf/mem_usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/perf/mem_usage.h')
-rw-r--r--chrome/test/perf/mem_usage.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/test/perf/mem_usage.h b/chrome/test/perf/mem_usage.h
index 940a0d1..467bb94 100644
--- a/chrome/test/perf/mem_usage.h
+++ b/chrome/test/perf/mem_usage.h
@@ -59,6 +59,10 @@ bool GetMemoryInfo(uint32 process_id,
size_t *peak_working_set_size,
size_t *current_working_set_size);
+// Get the number of bytes currently committed by the system.
+// Returns -1 on failure.
+size_t GetSystemCommitCharge();
+
// Get and print memory usage information for running chrome processes.
void PrintChromeMemoryUsageInfo();
-#endif // CHROME_TEST_PERF_MEM_USAGE_H__
+#endif // CHROME_TEST_PERF_MEM_USAGE_H__