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

Side by Side Diff: tools/telemetry/telemetry/core/perf_tests_helper.py

Issue 20766003: [Telemetry] Add the ability to flush the system file cache to platform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Support Android 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 from __future__ import absolute_import 4 from __future__ import absolute_import
5 5
6 import os 6 import os
7 import sys 7 import sys
8 8
9 def __init__(): 9 def __init__():
10 path = os.path.join(os.path.dirname(__file__), 10 path = os.path.join(os.path.dirname(__file__),
11 '..', '..', '..', '..', 'build', 'android') 11 '..', '..', '..', '..', 'build', 'android')
12 path = os.path.abspath(path) 12 path = os.path.abspath(path)
13 assert os.path.exists(os.path.join(path, 13 assert os.path.exists(os.path.join(path,
14 'pylib', '__init__.py')) 14 'pylib', '__init__.py'))
15 if path not in sys.path: 15 if path not in sys.path:
16 sys.path.append(path) 16 sys.path.append(path)
17 17
18 __init__() 18 __init__()
19 19
20 from pylib import perf_tests_helper # pylint: disable=F0401 20 from pylib import perf_tests_helper # pylint: disable=F0401
21 CacheControl = \
22 perf_tests_helper.CacheControl
dtu 2013/07/29 22:19:28 Oh, that's why :) Uhm, this method is Android-spe
21 GeomMeanAndStdDevFromHistogram = \ 23 GeomMeanAndStdDevFromHistogram = \
22 perf_tests_helper.GeomMeanAndStdDevFromHistogram 24 perf_tests_helper.GeomMeanAndStdDevFromHistogram
23 PrintPerfResult = \ 25 PrintPerfResult = \
24 perf_tests_helper.PrintPerfResult 26 perf_tests_helper.PrintPerfResult
25 PrintPages = \ 27 PrintPages = \
26 perf_tests_helper.PrintPages 28 perf_tests_helper.PrintPages
27 29
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/core/chrome/desktop_browser_finder.py ('k') | tools/telemetry/telemetry/core/platform/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698