diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 20:48:04 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 20:48:04 +0000 |
commit | 08f0a19132581e09be48b13933ec2a90813fd052 (patch) | |
tree | 0e799425dfa581866b0e6514b6cfecc4172c8be8 /chrome/test/ui/ui_test.h | |
parent | 2775cce1a62be565e13d85b49d5fa110c02f0e78 (diff) | |
download | chromium_src-08f0a19132581e09be48b13933ec2a90813fd052.zip chromium_src-08f0a19132581e09be48b13933ec2a90813fd052.tar.gz chromium_src-08f0a19132581e09be48b13933ec2a90813fd052.tar.bz2 |
Prep for printing common memory stats from page_cycler_tests and memory_test:
Move PrintIOPerfInfo(), PrintMemoryUsageInfo() and PrintSystemCommitCharge()
into the UITest base class so both page_cycler and memory_test will be
able to use them. Make the user data dir a parameter so that memory_test
will be able to point to its temporary copy.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/402052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32538 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test.h')
-rw-r--r-- | chrome/test/ui/ui_test.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h index 6a14359..81db9e1 100644 --- a/chrome/test/ui/ui_test.h +++ b/chrome/test/ui/ui_test.h @@ -452,6 +452,15 @@ class UITest : public testing::Test { const std::wstring& port); void StopHttpServer(); + // Prints IO performance data for use by perf graphs. + void PrintIOPerfInfo(const char* test_name, FilePath data_dir); + + // Prints memory usage data for use by perf graphs. + void PrintMemoryUsageInfo(const char* test_name, FilePath data_dir); + + // Prints memory commit charge stats for use by perf graphs. + void PrintSystemCommitCharge(const char* test_name, size_t charge); + private: // Check that no processes related to Chrome exist, displaying // the given message if any do. |