未验证 提交 5c723ca2 编写于 作者: H Haoyuan Feng 提交者: GitHub

Update constantHelper.py

上级 7fd07085
......@@ -126,7 +126,7 @@ class RunContext:
coreStart = (id % self.config.concurrent_emu) * self.config.emu_threads
coreEnd = ((id % self.config.concurrent_emu) + 1) * self.config.emu_threads - 1
stdinStr = self.getStdIn(population, id)
return "{} | numactl -m 1 -C {}-{} {} --i {} --diff {} -I {} -s {} 2>{}.{}".format(stdinStr, coreStart, coreEnd, EMU_PATH, self.config.work_load, DIFF_PATH, self.config.max_instr, self.config.seed, os.path.join(BUILD_PATH, CONFIG_FILE_PREFIX + str(id)), PERF_FILE_POSTFIX)
return "{} | {} --i {} --diff {} -I {} -s {} 2>{}.{}".format(stdinStr, EMU_PATH, self.config.work_load, DIFF_PATH, self.config.max_instr, self.config.seed, os.path.join(BUILD_PATH, CONFIG_FILE_PREFIX + str(id)), PERF_FILE_POSTFIX)
class Solution:
def __init__(self, config: Config) -> None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册