| Index: chrome/test/perf/page_cycler_test.cc
|
| ===================================================================
|
| --- chrome/test/perf/page_cycler_test.cc (revision 165683)
|
| +++ chrome/test/perf/page_cycler_test.cc (working copy)
|
| @@ -269,8 +269,7 @@
|
| }
|
|
|
| private:
|
| - void PrintMemoryHistogram(const std::string& name,
|
| - const std::string& units) {
|
| + void PrintMemoryHistogram(const std::string& name) {
|
| scoped_refptr<TabProxy> tab(GetActiveTab());
|
| ASSERT_TRUE(tab.get());
|
| std::wstring whistogram;
|
| @@ -282,17 +281,17 @@
|
| base::SysUTF8ToWide(name) + L"\") : '')",
|
| &whistogram));
|
| std::string histogram = base::SysWideToNativeMB(whistogram);
|
| - printf("HISTOGRAM %s: %s = %s %s\n",
|
| - name.c_str(), name.c_str(), histogram.c_str(), units.c_str());
|
| + printf("HISTOGRAM %s: %s = %s\n",
|
| + name.c_str(), name.c_str(), histogram.c_str());
|
| }
|
|
|
| void PrintMemoryHistograms() {
|
| ASSERT_NO_FATAL_FAILURE(PrintMemoryHistogram(
|
| - "V8.MemoryExternalFragmentationTotal", "percent"));
|
| + "V8.MemoryExternalFragmentationTotal"));
|
| ASSERT_NO_FATAL_FAILURE(PrintMemoryHistogram(
|
| - "V8.MemoryHeapSampleTotalCommitted", "kb"));
|
| + "V8.MemoryHeapSampleTotalCommitted"));
|
| ASSERT_NO_FATAL_FAILURE(PrintMemoryHistogram(
|
| - "V8.MemoryHeapSampleTotalUsed", "kb"));
|
| + "V8.MemoryHeapSampleTotalUsed"));
|
| }
|
|
|
| protected:
|
|
|