summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-04 19:12:02 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-04 19:12:02 +0000
commit38bab02b6e4043164b9aeeff9bcebbd8cc82282d (patch)
treeace38c86d52f8cb859b763f7ca38d54f4b0a58d2 /tools
parentae015e19d8c5fa387d87757591dfed4851f36237 (diff)
downloadchromium_src-38bab02b6e4043164b9aeeff9bcebbd8cc82282d.zip
chromium_src-38bab02b6e4043164b9aeeff9bcebbd8cc82282d.tar.gz
chromium_src-38bab02b6e4043164b9aeeff9bcebbd8cc82282d.tar.bz2
[Telemetry] Session restore benchmark shouldn't start clock before browser load
The CPU usage measurements for the session restore benchmark were being taken before the browser launched on Linux/Windows causing the tests to fail. This CL starts the timer in the correct place with the browser process properly launched. BUG=314377 Review URL: https://codereview.chromium.org/56123007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232752 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/measurements/session_restore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/measurements/session_restore.py b/tools/perf/measurements/session_restore.py
index 12fa39af..70a3b84 100644
--- a/tools/perf/measurements/session_restore.py
+++ b/tools/perf/measurements/session_restore.py
@@ -44,7 +44,7 @@ class SessionRestore(startup.Startup):
raise Exception("Invalid pageset: more than 1 WPR archive found.: " +
', '.join(wpr_archives.keys()))
- def WillStartBrowser(self, browser):
+ def DidStartBrowser(self, browser):
self._cpu_metric = cpu.CpuMetric(browser)
self._cpu_metric.Start(None, None)