| Index: tools/telemetry/telemetry/perf_tests_helper.py
|
| diff --git a/tools/telemetry/telemetry/perf_tests_helper.py b/tools/telemetry/telemetry/perf_tests_helper.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8fa8963f0a5732f94802ec8020d581cfae4b6c21
|
| --- /dev/null
|
| +++ b/tools/telemetry/telemetry/perf_tests_helper.py
|
| @@ -0,0 +1,25 @@
|
| +# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +from __future__ import absolute_import
|
| +
|
| +import os
|
| +import sys
|
| +
|
| +def __init__():
|
| + path = os.path.join(os.path.dirname(__file__),
|
| + '../../../build/android')
|
| + path = os.path.abspath(path)
|
| + assert os.path.exists(os.path.join(path,
|
| + 'pylib', '__init__.py'))
|
| + if path not in sys.path:
|
| + sys.path.append(path)
|
| +
|
| +__init__()
|
| +
|
| +from pylib import perf_tests_helper # pylint: disable=F0401
|
| +GeomMeanAndStdDevFromHistogram = \
|
| + perf_tests_helper.GeomMeanAndStdDevFromHistogram
|
| +PrintPerfResult = \
|
| + perf_tests_helper.PrintPerfResult
|
| +
|
|
|