Home
last modified time | relevance | path

Searched refs:path (Results 1 – 13 of 13) sorted by relevance

/toolchain/benchmark/
Dapply_patches.py22 autotest_dir = os.path.join(config.android_home, config.autotest_dir)
23 autotest_patch = os.path.join(
24 os.path.dirname(os.path.realpath(__file__)), 'autotest.diff')
25 dex2oat_dir = os.path.join(autotest_dir,
27 panorama_dir = os.path.join(autotest_dir,
42 panorama_dir = os.path.join(config.android_home,
44 panorama_patch = os.path.join(
45 os.path.dirname(os.path.realpath(__file__)), 'panorama.diff')
70 synthmark_patch = os.path.join(
71 os.path.dirname(os.path.realpath(__file__)), 'synthmark.diff')
Ddiscard_patches.py15 def discard_git(path): argument
17 subprocess.check_call(['git', '-C', path, 'reset'])
18 subprocess.check_call(['git', '-C', path, 'clean', '-fdx'])
19 subprocess.check_call(['git', '-C', path, 'stash'])
20 print('Patch in %s removed successfully!' % path)
22 print('Error while removing patch in %s' % path)
26 autotest_dir = os.path.join(config.android_home, config.autotest_dir)
31 panorama_dir = os.path.join(config.android_home,
46 os.path.join(config.android_home, synthmark_dir)])
Dcollect_profile.py70 def pull_result(bench, serial, remote, pathDUT, path): argument
72 pull_cmd = [os.path.join(config.android_home,
79 pull_cmd.append('-p=' + path)
89 def merge(bench, pathDUT, path): argument
95 os.path.join(path, bench + '_profraw.tar'),
100 profdata = os.path.join(path, bench + '.profdata')
126 path = arguments.path
130 pathDUT = os.path.join(arguments.pathDUT, bench + '_profraw')
134 pull_result(bench, serial, remote, pathDUT, path)
136 merge(bench, pathDUT, path)
Dbuild_bench.py109 if not os.path.isdir(compiler):
115 tmp_dir = os.path.join(config.android_home,
118 compiler_content = os.path.join(compiler, '.')
131 logging.info('Prebuilt Compiler set as %s.', os.path.abspath(compiler))
153 tmp_dir = os.path.join(config.android_home,
167 pwd = os.path.join(config.android_home, config.bench_dict[bench])
168 mk_file = os.path.join(pwd, 'Android.mk')
169 if not os.path.exists(mk_file):
170 mk_file = os.path.join(pwd, 'Android.bp')
171 subprocess.check_call(['mv', os.path.join(pwd, 'tmp_makefile'), mk_file])
[all …]
Drun.py156 logfile = os.path.join(config.bench_suite_dir, f)
168 result = os.path.join(config.bench_suite_dir, bench + '.json')
178 log_file = os.path.join(config.bench_suite_dir, log_file)
193 os.path.join(
194 os.path.join(config.android_home, config.autotest_dir),
283 bench_result = os.path.join(config.bench_suite_dir, 'bench_result')
284 if not os.path.exists(bench_result):
291 new_bench_result_path = os.path.join(config.bench_suite_dir,
310 os.path.join(
311 os.path.join(config.android_home, config.autotest_dir),
[all …]
Dset_flags.py16 mk_file = os.path.join(config.android_home, config.bench_dict[bench],
23 os.path.join(config.android_home, config.bench_dict[bench],
69 bench_dir = os.path.join(config.android_home, config.bench_dict[bench])
71 flags_patch = os.path.join(
72 os.path.dirname(os.path.realpath(__file__)), bench_diff)
80 bench_mk = os.path.join(config.android_home, config.bench_dict[bench],
Dfix_json.py35 os.environ['PYTHONPATH'] = os.path.dirname(config.toolchain_utils)
38 json_path = os.path.join(config.bench_suite_dir, bench + '_refined')
40 os.path.join(config.toolchain_utils, 'generate_report.py'), '--json',
41 '-i=' + os.path.join(config.bench_suite_dir, bench + '.json'),
Dconfig.py31 def get_suite_env(name, path=False): argument
34 if path and not os.path.isdir(variable):
94 out_dir = os.path.join(android_home, 'out')
Dautotest.diff23 + out_dir = os.path.join(bench_config.android_home,
27 + lib_dir = os.path.join(out_dir, 'system/lib/libbinder.so')
29 + lib64_dir = os.path.join(out_dir, 'system/lib64/libbinder.so')
31 + bench_dir = os.path.join(out_dir,
34 + bench_dir_DUT = os.path.join('/data/local/tmp',
76 + default=os.path.join(home,
79 + default=os.path.join(android_home,
84 +real_synthmark_dir = os.path.join(android_home, synthmark_dir)
86 +out_dir = os.path.join(android_home, 'out')
139 + out_dir = os.path.join(bench_config.android_home,
[all …]
Denv_setting21 # Please specify the path to it here.
/toolchain/pgo-profiles/scripts/
Dutils.py25 THIS_DIR = os.path.realpath(os.path.dirname(__file__))
54 return os.path.realpath(os.path.join(THIS_DIR, '../../..'))
58 gofilename = os.path.join(android_build_top(), 'build', 'soong', 'cc',
72 return os.path.join(android_build_top(), 'prebuilts', 'clang', 'host',
Dupdate_profiles.py49 profdata = os.path.join(self.name, '{}.profdata'.format(self.name))
59 os.path.join(profile_dir, p)
87 profdata = os.path.join('art',
109 zipfile_name = os.path.join(pgo_zip)
165 dirname, basename = os.path.split(profile)
170 return os.path.join(dirname, old_profiles[0])
182 profiles_project = os.path.join(utils.android_build_top(), 'toolchain',
206 os.path.join(extract_dir, sub)
208 if os.path.isdir(os.path.join(extract_dir, sub))
Dandroid_build_client.py150 output_zip = os.path.join(output_dir, 'pgo_profiles.zip')