config: Add options to take/resume from SimPoint checkpoints
authorDam Sunwoo <dam.sunwoo@arm.com>
Tue, 23 Dec 2014 14:31:17 +0000 (09:31 -0500)
committerDam Sunwoo <dam.sunwoo@arm.com>
Tue, 23 Dec 2014 14:31:17 +0000 (09:31 -0500)
commit809134a2b151f82c29593e64086393b31bc110b7
tree281d9bf15f3ee736ffbd0b4202915a429944b074
parent7e34bae813a2dc1dc15cea53183840622ac4394e
config: Add options to take/resume from SimPoint checkpoints

More documentation at http://gem5.org/Simpoints

Steps to profile, generate, and use SimPoints with gem5:

1. To profile workload and generate SimPoint BBV file, use the
following option:

--simpoint-profile --simpoint-interval <interval length>

Requires single Atomic CPU and fastmem.
<interval length> is in number of instructions.

2. Generate SimPoint analysis using SimPoint 3.2 from UCSD.
(SimPoint 3.2 not included with this flow.)

3. To take gem5 checkpoints based on SimPoint analysis, use the
following option:

--take-simpoint-checkpoint=<simpoint file path>,<weight file
path>,<interval length>,<warmup length>

<simpoint file> and <weight file> is generated by SimPoint analysis
tool from UCSD. SimPoint 3.2 format expected. <interval length> and
<warmup length> are in number of instructions.

4. To resume from gem5 SimPoint checkpoints, use the following option:

--restore-simpoint-checkpoint -r <N> --checkpoint-dir <simpoint
checkpoint path>

<N> is (SimPoint index + 1). E.g., "-r 1" will resume from SimPoint
#0.
configs/common/Options.py
configs/common/Simulation.py
configs/example/fs.py