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

Side by Side Diff: tools/perf/profile_creators/__init__.py

Issue 14359012: Telemetry: Add option to create a dirty profile as part of a test run (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests Created 7 years, 7 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 """A library for Chrome GPU test code.""" 4 """Generators for Chrome profiles for testing purposes."""
5 import os 5 import os
6 import sys 6 import sys
7 7
8 def Init(): 8 def Init():
jeremy 2013/05/13 08:46:56 Is this really needed here? Copied over from perf_
tonyg 2013/05/13 18:21:59 Not sure. If it runs without it, I'd remove it.
jeremy 2013/05/19 14:53:25 Done.
9 telemetry_path = os.path.join(os.path.dirname(__file__), 9 telemetry_path = os.path.join(os.path.dirname(__file__),
10 '..', '..', 'telemetry') 10 '..', '..', 'telemetry')
11 absolute_telemetry_path = os.path.abspath(telemetry_path) 11 absolute_telemetry_path = os.path.abspath(telemetry_path)
12 sys.path.append(absolute_telemetry_path) 12 sys.path.append(absolute_telemetry_path)
13 telemetry_tools_path = os.path.join(os.path.dirname(__file__), 13 telemetry_tools_path = os.path.join(os.path.dirname(__file__),
14 '..', '..', 'telemetry_tools') 14 '..', '..', 'telemetry_tools')
15 absolute_telemetry_tools_path = os.path.abspath(telemetry_tools_path) 15 absolute_telemetry_tools_path = os.path.abspath(telemetry_tools_path)
16 sys.path.append(absolute_telemetry_tools_path) 16 sys.path.append(absolute_telemetry_tools_path)
17 17
18
19 Init() 18 Init()
OLDNEW
« no previous file with comments | « no previous file | tools/perf/profile_creators/small_profile_creator.py » ('j') | tools/telemetry/telemetry/core/profile_types.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698