Adding scripts, commands, and logging scaffolding
This commit is contained in:
@@ -6,7 +6,7 @@ SRC="$ROOT/gem5src/gem5"
|
||||
IOT="$ROOT/iot"
|
||||
DATA="$ROOT/gem5-data" # persistent (symlink to /mnt/storage/…)
|
||||
RUN="$ROOT/gem5-run" # workloads
|
||||
CFG="$IOT/scripts/hetero_big_little.py" # gem5 config
|
||||
CFG="$ROOT/gem5src/gem5/configs/example/arm/starter_se.py"
|
||||
|
||||
# --- build target (ARM by default) ---
|
||||
GEM5_BIN="$ROOT/build/ARM/gem5.opt"
|
||||
|
||||
@@ -79,7 +79,7 @@ system.system_port = system.membus.slave
|
||||
proc = Process()
|
||||
proc.executable = args.cmd
|
||||
proc.cmd = [args.cmd]
|
||||
system.workload = SEWorkload.init_compatible(args.cmd)
|
||||
proc.env = {'GLIBC_TUNABLES': 'glibc.pthread.rseq=0'}
|
||||
for c in system.cpu:
|
||||
c.workload = proc
|
||||
c.createThreads()
|
||||
|
||||
Reference in New Issue
Block a user