-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspec.trace.sh
More file actions
executable file
·38 lines (27 loc) · 924 Bytes
/
spec.trace.sh
File metadata and controls
executable file
·38 lines (27 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# rm -f /tmp/job_scheduler.*
SimInputSize=test
# All
Benchmark='-b spec.619.lbm_s'
# Before running this script, make sure:
# > cd where.spec2017.is
# > source shrc
# > export SPEC2017_SUITE_PATH=where.spec2017.is
# Build the byte code.
# python Driver.py $Benchmark --build
# Run the binary for a long time to get the profile.
# python Driver.py $Benchmark --profile
SimTrace='--simpoint-mode=region'
# Build the simpoint.
# python Driver.py $Benchmark $SimTrace --simpoint
# Trace the simpoint.
# python Driver.py $Benchmark $SimTrace --trace
# Process the trace (do thing)
# python Driver.py $Benchmark $SimTrace -t replay -d
# Below are not tested yet.
Threads=1
Parallel=40
o8=replay/o8
sim_replay=$o8
python Driver.py $Benchmark $SimTrace -t replay --sim-input-size $SimInputSize \
--sim-configs $sim_replay --input-threads $Threads -j $Parallel -s --trace-id 0 --gem5-debug GemForgeCPUDump