Files
Ciro Santilli eb4f4ba1d7 gem5.sh: simplify, and do m5 resetstats and m5 exit
This covers the most common use case of running a benchmark after restore.
2018-08-25 06:13:09 +01:00

7 lines
136 B
Bash
Executable File

#!/bin/sh
# This covers the most common setup to run a benchmark in gem5 and exit.
m5 checkpoint
m5 resetstats
m5 readfile | sh
m5 exit