/gem5/tests/gem5/learning_gem5/ |
H A D | part3_test.py | 35 config_path = joinpath(config.base_dir, 'configs', 'learning_gem5', 'part3') 36 ref_path = joinpath(getcwd(), 'ref') 40 verifiers = (verifier.MatchStdoutNoPerf(joinpath(ref_path, 'threads')),), 41 config=joinpath(config_path, 'simple_ruby.py'), 49 verifiers = (verifier.MatchStdout(joinpath(ref_path, 'test')),), 50 config=joinpath(config_path, 'ruby_test.py'),
|
H A D | part2_test.py | 31 config_path = joinpath(config.base_dir, 'configs', 'learning_gem5', 'part2') 32 ref_path = joinpath(getcwd(), 'ref') 33 get_verifier = lambda file: verifier.MatchStdout(joinpath(ref_path, file)) 38 config=joinpath(config_path, 'run_simple.py'), 46 config=joinpath(config_path, 'hello_goodbye.py'), 53 verifiers =(verifier.MatchStdoutNoPerf(joinpath(ref_path, 'hello')),), 54 config=joinpath(config_path, 'simple_memobj.py'), 61 verifiers =(verifier.MatchStdoutNoPerf(joinpath(ref_path, 'hello')),), 62 config=joinpath(config_path, 'simple_cache.py'),
|
H A D | part1_test.py | 31 config_path = joinpath(config.base_dir, 'configs', 'learning_gem5', 'part1') 36 config=joinpath(config_path, 'simple.py'), 44 config=joinpath(config_path, 'two_level.py'),
|
/gem5/src/python/m5/ |
H A D | config.py | 30 from os.path import isdir, isfile, join as joinpath 39 if homedir and isdir(joinpath(homedir, '.m5')): 40 confdir = joinpath(homedir, '.m5') 45 conffile = joinpath(confdir, name)
|
/gem5/tests/gem5/hello_se/ |
H A D | test_hello_se.py | 44 path = joinpath(absdirpath(__file__), '..', 'test-progs', 'hello', 48 ref_path = joinpath(getcwd(), 'ref') 51 verifier.MatchStdoutNoPerf(joinpath(ref_path, 'simout')), 58 config=joinpath(config.base_dir, 'configs', 'example','se.py'), 59 config_args=['--cmd', joinpath(path, binary)],
|
/gem5/tests/gem5/fs/linux/arm/ |
H A D | run.py | 47 from os.path import join as joinpath 65 gem5_root = joinpath(os.path.dirname(__file__), '..', '..', '..', '..', '..') 66 sys.path.append(joinpath(gem5_root, 'configs')) 67 tests_root = joinpath(gem5_root, 'tests') 68 sys.path.append(joinpath(tests_root, 'configs'))
|
H A D | test.py | 42 from os.path import join as joinpath 91 args = [ joinpath(config.base_dir, 'tests', 'configs', name + '.py') ] 95 config=joinpath(path, 'run.py'), 103 args = [ joinpath(config.base_dir, 'tests', 'configs', name + '.py') ] 107 config=joinpath(path, 'run.py'),
|
/gem5/tests/gem5/cpu_tests/ |
H A D | test.py | 45 base_path = joinpath(absdirpath(__file__), 'benchmarks', 'bin') 48 path = joinpath(base_path, isa) 50 ref_path = joinpath(getcwd(), 'ref', workload) 57 binary = joinpath(workload_binary.path, workload) 63 config=joinpath(getcwd(), 'run.py'),
|
/gem5/configs/common/ |
H A D | FileSystemConfig.py | 38 from os.path import join as joinpath 47 with open(joinpath(*path), 'a') as f: 73 fsdir = joinpath(m5.options.outdir, 'fs') 77 procdir = joinpath(fsdir, 'proc') 124 sysdir = joinpath(fsdir, 'sys') 128 cpudir = joinpath(sysdir, 'devices', 'system', 'cpu') 135 tmpdir = joinpath(fsdir, 'tmp') 145 nodebasedir = joinpath(m5.options.outdir, 'fs', 'sys', 'devices', 148 nodedir = joinpath(nodebasedir,'node%d' % node_number) 158 cpudir = joinpath(m [all...] |
H A D | cpu2000.py | 34 from os.path import basename, exists, join as joinpath, normpath 58 newdir = joinpath(dstdir, root, entry) 63 dest = normpath(joinpath(dstdir, root, entry)) 64 src = normpath(joinpath(srcdir, root, entry)) 70 inlink = joinpath(dstdir, 'input') 71 outlink = joinpath(dstdir, 'output') 101 executable = joinpath(spec_dist, 'binaries', isa, os, self.binary) 107 data_dir = joinpath(spec_dist, 'data', self.name) 109 all_dir = joinpath(data_dir, 'all') 111 inputs_dir = joinpath(data_di [all...] |
H A D | Simulation.py | 47 from os.path import join as joinpath 149 checkpoint_dir = joinpath(cptdir, "cpt.%s.%s" % (options.bench, inst)) 169 checkpoint_dir = joinpath(cptdir, cpts[cpt_num - 1]) 205 checkpoint_dir = joinpath(cptdir, "cpt.%s" % cpts[cpt_num - 1]) 228 m5.checkpoint(joinpath(cptdir, "cpt.%s.%d" % \ 245 m5.checkpoint(joinpath(cptdir, "cpt.%d")) 264 m5.checkpoint(joinpath(cptdir, "cpt.%d")) 277 m5.checkpoint(joinpath(cptdir, "cpt.%d")) 378 m5.checkpoint(joinpath(cptdir, 732 m5.checkpoint(joinpath(cptdi [all...] |
/gem5/tests/gem5/memory/ |
H A D | test.py | 38 config=joinpath(getcwd(), 'simple-run.py'), 58 config=joinpath(getcwd(), 'simple-run.py'), 66 config=joinpath(getcwd(), 'memtest-run.py'),
|
/gem5/tests/gem5/m5_util/ |
H A D | test_exit.py | 40 path = joinpath(absdirpath(__file__), '..', 52 config_args=['--cmd', joinpath(test_program.path, filename)],
|
/gem5/tests/ |
H A D | run.py | 48 from os.path import join as joinpath 160 test_progs = joinpath(tests_root, 'test-progs') 167 return joinpath(test_progs, app, 'bin', isa, opsys, file) 174 return joinpath(test_progs, app, 'input', file) 178 return joinpath(os.path.dirname(__file__), "..", path) 184 abs_path = joinpath(src_root, config) 207 sys.path.append(joinpath(tests_root, 'configs')) 213 open(joinpath(tests_root, 'configs', test_filename + '.py')).read(), \ 214 joinpath(tests_root, 'configs', test_filename + '.py'), 'exec')) 221 sys.path.append(joinpath(tests_roo [all...] |
/gem5/src/unittest/ |
H A D | genini.py | 33 from os.path import join as joinpath, realpath 36 sys.path.append(joinpath(mypath, '..')) 37 sys.path.append(joinpath(mypath, '../python')) 38 sys.path.append(joinpath(mypath, '../util/pbs'))
|
/gem5/util/ |
H A D | compile | 31 from os.path import isdir, isfile, join as joinpath 39 search_dirs = [ joinpath(homedir, 'local/lib'), '/opt/local/lib', 59 path = joinpath(dir, entry) 269 build_base = joinpath(homedir, 'build') 270 m5_base = joinpath(homedir, 'm5') 278 m5_dir = joinpath(m5_base, version) 283 oldstyle = isfile(joinpath(m5_dir, 'SConscript')) 285 ext_dir = joinpath(m5_base, 'ext') 286 test_dir = joinpath(m5_base, 'test.' + version) 294 build_dir = joinpath(build_bas [all...] |
H A D | hgstyle.py | 47 from os.path import join as joinpath 165 if verifier.apply(joinpath(repo.root, fname), mod_regions):
|
/gem5/util/batch/ |
H A D | send.py | 32 from os.path import basename, isdir, isfile, islink, join as joinpath, normpath 59 newdir = joinpath(destdir, root, entry) 65 if islink(joinpath(srcdir, root, d)): 66 dirs[i] = joinpath(d, '.') 69 dest = normpath(joinpath(destdir, root, entry)) 70 src = normpath(joinpath(srcdir, root, entry)) 200 jobdir = JobDir(joinpath(conf.rootdir, job.name)) 251 script = joinpath(rootdir, 'Base', 'job.py') 254 jobdir = JobDir(joinpath(rootdir, job.name)) 256 cptdir = JobDir(joinpath(rootdi [all...] |
H A D | job.py | 32 from os.path import join as joinpath, expanduser 41 os.remove(joinpath(root, name)) 43 os.rmdir(joinpath(root, name)) 78 return joinpath(self.dir, filename) 155 basedir = joinpath(rootdir, 'Base') 157 jobfile = env.setdefault('JOBFILE', joinpath(rootdir, 'Test.py')) 166 workdir = joinpath(workbase, '%s.%s' % (env['USER'], oar_jobid)) 198 args = [ joinpath(basedir, binary), joinpath(basedir, 'run.py') ]
|
/gem5/util/pbs/ |
H A D | send.py | 33 from os.path import basename, isdir, isfile, islink, join as joinpath, normpath 60 newdir = joinpath(destdir, root, entry) 66 if islink(joinpath(srcdir, root, d)): 67 dirs[i] = joinpath(d, '.') 70 dest = normpath(joinpath(destdir, root, entry)) 71 src = normpath(joinpath(srcdir, root, entry)) 201 jobdir = JobDir(joinpath(conf.rootdir, job.name)) 252 jobdir = JobDir(joinpath(conf.rootdir, job.name)) 254 cptdir = JobDir(joinpath(conf.rootdir, job.checkpoint.name)) 275 qsub.build(joinpath(progpat [all...] |
H A D | job.py | 34 from os.path import join as joinpath, expanduser 43 os.remove(joinpath(root, name)) 45 os.rmdir(joinpath(root, name)) 80 return joinpath(self.dir, filename) 150 basedir = joinpath(rootdir, 'Base') 152 jobfile = env.setdefault('JOBFILE', joinpath(rootdir, 'Test.py')) 153 outdir = env.setdefault('OUTPUT_DIR', joinpath(rootdir, jobname)) 161 workdir = joinpath(workbase, '%s.%s' % (env['USER'], pbs_jobid)) 193 args = [ joinpath(basedir, 'm5'), joinpath(basedi [all...] |
/gem5/tests/legacy-configs/ |
H A D | run.py | 41 from os.path import abspath, join as joinpath, dirname 48 sys.path.insert(0, abspath(joinpath(dirname(__file__), '../../configs')))
|
/gem5/tests/gem5/ |
H A D | verifier.py | 36 from testlib.helper import joinpath, diff_out_file 88 self.test_filename = joinpath(tempdir, self.test_filename) 192 if parse_file(joinpath(tempdir, 196 if parse_file(joinpath(tempdir,
|
H A D | fixture.py | 51 from testlib.helper import log_call, cacheresult, joinpath, absdirpath 164 target_dir = joinpath(config.build_dir, isa.upper()) 167 target = joinpath(target_dir, 'gem5.%s' % variant) 230 make_dir = joinpath('test-progs', program) 232 target = joinpath('bin', isa, os, program) 234 self.path = joinpath(make_dir, target) 251 target = joinpath(path, filename) 266 self.filename = joinpath(path, filename)
|
/gem5/util/stats/ |
H A D | output.py | 66 from os.path import expanduser, isdir, join as joinpath 102 html = file(joinpath(directory, '%s.html' % name), 'w') 204 chart.savefig(joinpath(directory, pngname)) 205 chart.savefig(joinpath(directory, epsname)) 206 chart.savefig(joinpath(directory, psname))
|