Lines Matching refs:joinpath
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(m5.options.outdir, 'fs', 'sys', 'devices', 'system',
161 if not isdir(joinpath(cpudir, 'topology')):
162 makedirs(joinpath(cpudir, 'topology'))
163 if not isdir(joinpath(cpudir, 'cache')):
164 makedirs(joinpath(cpudir, 'cache'))
176 fsdir = joinpath(m5.options.outdir, 'fs')
178 cachedir = joinpath(fsdir, 'sys', 'devices', 'system', 'cpu',
182 while isdir(joinpath(cachedir, 'index%d' % j)):
184 indexdir = joinpath(cachedir, 'index%d' % j)