Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: testing/perf/perf_test.h

Issue 23509002: Factor out a perf test result printer method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/test/perf/chrome_frame_perftest.cc ('k') | testing/perf/perf_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/perf/perf_test.h
diff --git a/chrome/test/perf/perf_test.h b/testing/perf/perf_test.h
similarity index 76%
copy from chrome/test/perf/perf_test.h
copy to testing/perf/perf_test.h
index c40cc5ec9c1eea1653c39c6329acd1863cf31fa8..ec84d31637b104acd9a4fbad78357a3b188c9024 100644
--- a/chrome/test/perf/perf_test.h
+++ b/testing/perf/perf_test.h
@@ -2,14 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_TEST_PERF_PERF_TEST_H_
-#define CHROME_TEST_PERF_PERF_TEST_H_
+#ifndef TESTING_PERF_PERF_TEST_H_
+#define TESTING_PERF_PERF_TEST_H_
-#include <stdio.h>
#include <string>
-#include "chrome/test/base/chrome_process_util.h"
-
namespace perf_test {
// Prints numerical information to stdout in a controlled format, for
@@ -94,34 +91,6 @@ void AppendResultList(std::string& output,
const std::string& units,
bool important);
-// Prints IO performance data for use by perf graphs.
-void PrintIOPerfInfo(const std::string& test_name,
- const ChromeProcessList& chrome_processes,
- base::ProcessId browser_pid);
-
-void PrintIOPerfInfo(FILE* target,
- const std::string& test_name,
- const ChromeProcessList& chrome_processes,
- base::ProcessId browser_pid);
-
-std::string IOPerfInfoToString(const std::string& test_name,
- const ChromeProcessList& chrome_processes,
- base::ProcessId browser_pid);
-
-// Prints memory usage data for use by perf graphs.
-void PrintMemoryUsageInfo(const std::string& test_name,
- const ChromeProcessList& chrome_processes,
- base::ProcessId browser_pid);
-
-void PrintMemoryUsageInfo(FILE* target,
- const std::string& test_name,
- const ChromeProcessList& chrome_processes,
- base::ProcessId browser_pid);
-
-std::string MemoryUsageInfoToString(const std::string& test_name,
- const ChromeProcessList& chrome_processes,
- base::ProcessId browser_pid);
-
// Prints memory commit charge stats for use by perf graphs.
void PrintSystemCommitCharge(const std::string& test_name,
size_t charge,
@@ -138,4 +107,4 @@ std::string SystemCommitChargeToString(const std::string& test_name,
} // namespace perf_test
-#endif // CHROME_TEST_PERF_PERF_TEST_H_
+#endif // TESTING_PERF_PERF_TEST_H_
« no previous file with comments | « chrome_frame/test/perf/chrome_frame_perftest.cc ('k') | testing/perf/perf_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698