projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87cc327
)
config: set cwd for processes in se.py
author
Nilay Vaish
<nilay@cs.wisc.edu>
Mon, 7 Oct 2013 23:05:50 +0000
(18:05 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Mon, 7 Oct 2013 23:05:50 +0000
(18:05 -0500)
configs/example/se.py
patch
|
blob
|
history
diff --git
a/configs/example/se.py
b/configs/example/se.py
index 02a0d3b9631357d26bd6663f71df5f9ddfcc5e39..f7e7f1a6583518ad1b8cec78b3a1dd1801227d22 100644
(file)
--- a/
configs/example/se.py
+++ b/
configs/example/se.py
@@
-44,6
+44,7
@@
import optparse
import sys
+import os
import m5
from m5.defines import buildEnv
@@
-85,6
+86,7
@@
def get_processes(options):
for wrkld in workloads:
process = LiveProcess()
process.executable = wrkld
+ process.cwd = os.getcwd()
if len(pargs) > idx:
process.cmd = [wrkld] + pargs[idx].split()