| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 #include "chrome_frame/test/perf/chrome_frame_perftest.h" | 4 #include "chrome_frame/test/perf/chrome_frame_perftest.h" |
| 5 | 5 |
| 6 #include <atlhost.h> |
| 6 #include <atlwin.h> | 7 #include <atlwin.h> |
| 7 #include <atlhost.h> | |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/debug/trace_event_win.h" | 13 #include "base/debug/trace_event_win.h" |
| 14 #include "base/file_util.h" | 14 #include "base/file_util.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 18 #include "base/process_util.h" | 18 #include "base/process/kill.h" |
| 19 #include "base/process/launch.h" |
| 20 #include "base/process/process_iterator.h" |
| 19 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
| 20 #include "base/strings/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
| 21 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
| 22 #include "base/test/test_file_util.h" | 24 #include "base/test/test_file_util.h" |
| 23 #include "base/threading/platform_thread.h" | 25 #include "base/threading/platform_thread.h" |
| 24 #include "base/time/time.h" | 26 #include "base/time/time.h" |
| 25 #include "base/win/event_trace_consumer.h" | 27 #include "base/win/event_trace_consumer.h" |
| 26 #include "base/win/event_trace_controller.h" | 28 #include "base/win/event_trace_controller.h" |
| 27 #include "base/win/registry.h" | 29 #include "base/win/registry.h" |
| 28 #include "base/win/scoped_bstr.h" | 30 #include "base/win/scoped_bstr.h" |
| (...skipping 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1598 PrintPerfTestResults(automation_provider_connect_monitor, kNumCycles, | 1600 PrintPerfTestResults(automation_provider_connect_monitor, kNumCycles, |
| 1599 "automationproviderconnect"); | 1601 "automationproviderconnect"); |
| 1600 PrintPerfTestResults(external_tab_navigate_monitor, kNumCycles, | 1602 PrintPerfTestResults(external_tab_navigate_monitor, kNumCycles, |
| 1601 "externaltabnavigate"); | 1603 "externaltabnavigate"); |
| 1602 PrintPerfTestResults(renderer_main_monitor, kNumCycles, | 1604 PrintPerfTestResults(renderer_main_monitor, kNumCycles, |
| 1603 "beginrenderermain"); | 1605 "beginrenderermain"); |
| 1604 #ifdef NDEBUG | 1606 #ifdef NDEBUG |
| 1605 PrintPerfTestResults(pre_read_chrome_monitor, kNumCycles, "PreReadImage"); | 1607 PrintPerfTestResults(pre_read_chrome_monitor, kNumCycles, "PreReadImage"); |
| 1606 #endif // NDEBUG | 1608 #endif // NDEBUG |
| 1607 } | 1609 } |
| OLD | NEW |