Adding scripts, commands, and logging scaffolding

This commit is contained in:
Carlos Gutierrez
2025-10-05 03:30:28 +00:00
parent 2b57610f3b
commit 6371204ef4
13 changed files with 5318 additions and 172 deletions

View File

@@ -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"

View File

@@ -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()