| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_TEST_PERF_MEM_USAGE_H_ | |
| 6 #define CHROME_TEST_PERF_MEM_USAGE_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 | |
| 10 // Get the number of bytes currently committed by the system. | |
| 11 // Returns -1 on failure. | |
| 12 size_t GetSystemCommitCharge(); | |
| 13 | |
| 14 // Get and print memory usage information for running chrome processes. | |
| 15 void PrintChromeMemoryUsageInfo(); | |
| 16 | |
| 17 #endif // CHROME_TEST_PERF_MEM_USAGE_H_ | |
| OLD | NEW |