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

Side by Side Diff: chrome/test/media_router/telemetry/media_router_config.py

Issue 1907073002: Update cpu and memory metric calculation and several small improvements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Jennifer's comment Created 4 years, 8 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
« no previous file with comments | « chrome/test/media_router/telemetry/benchmarks/pagesets/media_router_perf_pages.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 4
5 import os 5 import os
6 import sys 6 import sys
7 7
8 # Add //tools/perf/ to system path. 8 # Add //tools/perf/ to system path.
9 sys.path.append(os.path.join(os.path.dirname(__file__), 9 sys.path.append(os.path.join(os.path.dirname(__file__),
10 os.pardir, os.pardir, os.pardir, 10 os.pardir, os.pardir, os.pardir,
11 os.pardir, 'tools', 'perf')) 11 os.pardir, 'tools', 'perf'))
12 12
13 # Add //chrome/test/media_router/internal to system path.
14 sys.path.append(os.path.join(os.path.dirname(__file__),
15 os.pardir, 'internal'))
16
13 from chrome_telemetry_build import chromium_config 17 from chrome_telemetry_build import chromium_config
14 18
15 TELEMETRY_DIR = chromium_config.GetTelemetryDir() 19 TELEMETRY_DIR = chromium_config.GetTelemetryDir()
16 20
17 _top_level_dir = os.path.dirname(os.path.realpath(__file__)) 21 _top_level_dir = os.path.dirname(os.path.realpath(__file__))
18 22
19 23
20 def Config(benchmark_subdirs): 24 def Config(benchmark_subdirs):
21 return chromium_config.ChromiumConfig( 25 return chromium_config.ChromiumConfig(
22 top_level_dir=_top_level_dir, 26 top_level_dir=_top_level_dir,
23 benchmark_dirs=[os.path.join(_top_level_dir, subdir) 27 benchmark_dirs=[os.path.join(_top_level_dir, subdir)
24 for subdir in benchmark_subdirs]) 28 for subdir in benchmark_subdirs])
OLDNEW
« no previous file with comments | « chrome/test/media_router/telemetry/benchmarks/pagesets/media_router_perf_pages.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698