NameDateSize

..22-Aug-20194 KiB

chdir-print.cH A D22-Aug-20192.5 KiB

MakefileH A D22-Aug-2019348

README.txtH A D22-Aug-20191.9 KiB

README.txt

1# example test compile and run parameters
2# Note: the absolute path to the chdir-print binary should be specified
3# in the run command even if running from the same folder. This is needed
4# because chdir is executed before triggering a clone for the file read,
5# and the cloned process won't be able to find the executable if a relative
6# path is provided.
7
8# compile examples
9scons --default=X86 ./build/X86/gem5.opt PROTOCOL=MOESI_hammer
10scons --default=X86 ./build/X86/gem5.opt PROTOCOL=MESI_Three_Level
11
12# run parameters
13<GEM5_ROOT>/build/X86/gem5.opt <GEM5_ROOT>/configs/example/se.py -c <GEM5_ROOT>/tests/test-progs/chdir-print/chdir-print -n2 --ruby
14
15
16# example successful output for MESI_Three_Level:
17
18<...>
19
20**** REAL SIMULATION ****
21info: Entering event queue @ 0.  Starting simulation...
22warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files!
23cwd: /proj/research_simu/users/jalsop/gem5-mem_dif_debug/tests/test-progs/chdir-print/
24cwd: /proc
25
26<...>
27
28processor       : 0
29vendor_id       : Generic
30cpu family      : 0
31model           : 0
32model name      : Generic
33stepping        : 0
34cpu MHz         : 2000
35cache size:     : 2048K
36physical id     : 0
37siblings        : 2
38core id         : 0
39cpu cores       : 2
40fpu             : yes
41fpu exception   : yes
42cpuid level     : 1
43wp              : yes
44flags           : fpu
45cache alignment : 64
46
47processor       : 1
48vendor_id       : Generic
49cpu family      : 0
50model           : 0
51model name      : Generic
52stepping        : 0
53cpu MHz         : 2000
54cache size:     : 2048K
55physical id     : 0
56siblings        : 2
57core id         : 1
58cpu cores       : 2
59fpu             : yes
60fpu exception   : yes
61cpuid level     : 1
62wp              : yes
63flags           : fpu
64cache alignment : 64
65
66SUCCESS
67Exiting @ tick 2694923000 because exiting with last active thread context
68