-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
26 lines (21 loc) · 855 Bytes
/
README
File metadata and controls
26 lines (21 loc) · 855 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
1. Type "make" to build. (Type "make clean" first if you already compiled and want to recompile from scratch.)
2. Run trace reader:
To run without throttling output:
./sim 32 8192 4 262144 8 3 10 ../example_trace.txt
To run with throttling (via "less"):
./sim 32 8192 4 262144 8 3 10 ../example_trace.txt | less
To run and confirm that all requests in the trace were read correctly:
./sim 32 8192 4 262144 8 3 10 ../example_trace.txt > echo_trace.txt
diff ../example_trace.txt echo_trace.txt
The result of "diff" should indicate that the only difference is that echo_trace.txt has the configuration information.
0a1,10
> ===== Simulator configuration =====
> BLOCKSIZE: 32
> L1_SIZE: 8192
> L1_ASSOC: 4
> L2_SIZE: 262144
> L2_ASSOC: 8
> PREF_N: 3
> PREF_M: 10
> trace_file: ../example_trace.txt
>