tests: Update RISC-V hello test and stats

Update the "Hello, world!" executable for RISC-V to use the latest GNU
Linux toolchain and fix the stats accordingly.

Change-Id: I5ff3d7f4bb41b10170038b8c07492f15bb54a022
Reviewed-on: https://gem5-review.googlesource.com/3560
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
Alec Roelke
2017-05-31 18:49:18 -04:00
parent c1a7d318f6
commit 4966fe4b0f
26 changed files with 3281 additions and 3134 deletions

View File

@@ -116,6 +116,7 @@ progress_interval=0
simpoint_start_insts=
socket_id=0
switched_out=false
syscallRetryLatency=10000
system=system
threadPolicy=RoundRobin
tracer=system.cpu.tracer
@@ -745,7 +746,7 @@ type=ExeTracer
eventq_index=0
[system.cpu.workload]
type=LiveProcess
type=Process
cmd=hello
cwd=
drivers=
@@ -754,14 +755,15 @@ env=
errout=cerr
euid=100
eventq_index=0
executable=/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello
executable=/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello
gid=100
input=cin
kvmInSE=false
max_stack_size=67108864
maxStackSize=67108864
output=cout
pgid=100
pid=100
ppid=99
ppid=0
simpoint=0
system=system
uid=100

View File

@@ -297,6 +297,7 @@
"max_loads_all_threads": 0,
"executeMemoryIssueLimit": 1,
"decodeCycleInput": true,
"syscallRetryLatency": 10000,
"max_loads_any_thread": 0,
"executeLSQTransfersQueueSize": 2,
"p_state_clk_gate_max": 1000000000000,
@@ -1058,21 +1059,22 @@
"uid": 100,
"pid": 100,
"kvmInSE": false,
"cxx_class": "LiveProcess",
"executable": "/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello",
"cxx_class": "Process",
"executable": "/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello",
"drivers": [],
"system": "system",
"gid": 100,
"eventq_index": 0,
"env": [],
"input": "cin",
"ppid": 99,
"type": "LiveProcess",
"maxStackSize": 67108864,
"ppid": 0,
"type": "Process",
"cwd": "",
"pgid": 100,
"simpoint": 0,
"euid": 100,
"input": "cin",
"path": "system.cpu.workload",
"max_stack_size": 67108864,
"name": "workload",
"cmd": [
"hello"

View File

@@ -1,4 +1,7 @@
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes)
warn: Unknown operating system; assuming Linux.
warn: Sockets disabled, not accepting gdb connections
warn: ClockedObject: More than one power state change request encountered within the same simulation tick
info: Entering event queue @ 0. Starting simulation...
warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings.
Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello'
info: Increasing stack size by one page.

View File

@@ -1,15 +1,13 @@
Redirecting stdout to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/minor-timing/simout
Redirecting stderr to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/minor-timing/simerr
Redirecting stdout to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/minor-timing/simout
Redirecting stderr to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/minor-timing/simerr
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Nov 30 2016 14:33:35
gem5 started Nov 30 2016 16:18:28
gem5 executing on zizzer, pid 34056
command line: /z/powerjg/gem5-upstream/build/RISCV/gem5.opt -d build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/minor-timing -re /z/powerjg/gem5-upstream/tests/testing/../run.py quick/se/00.hello/riscv/linux/minor-timing
gem5 compiled May 31 2017 18:33:59
gem5 started May 31 2017 18:34:12
gem5 executing on boldrock, pid 15707
command line: /home/ar4jc/gem5/build/RISCV/gem5.debug -d build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/minor-timing --stats-file 'text://stats.txt?desc=False' -re /home/ar4jc/gem5/tests/testing/../run.py quick/se/00.hello/riscv/linux/minor-timing
Global frequency set at 1000000000000 ticks per second
info: Entering event queue @ 0. Starting simulation...
info: Increasing stack size by one page.
Hello world!
Exiting @ tick 14435000 because target called exit()
Exiting @ tick 41515000 because exiting with last active thread context

File diff suppressed because it is too large Load Diff

View File

@@ -65,7 +65,7 @@ SSITSize=1024
activity=0
backComSize=5
branchPred=system.cpu.branchPred
cachePorts=200
cacheStorePorts=200
checker=Null
clk_domain=system.cpu_clk_domain
commitToDecodeDelay=1
@@ -139,6 +139,7 @@ socket_id=0
squashWidth=8
store_set_clear_period=250000
switched_out=false
syscallRetryLatency=10000
system=system
tracer=system.cpu.tracer
trapLatency=13
@@ -715,7 +716,7 @@ type=ExeTracer
eventq_index=0
[system.cpu.workload]
type=LiveProcess
type=Process
cmd=hello
cwd=
drivers=
@@ -724,14 +725,15 @@ env=
errout=cerr
euid=100
eventq_index=0
executable=/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello
executable=/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello
gid=100
input=cin
kvmInSE=false
max_stack_size=67108864
maxStackSize=67108864
output=cout
pgid=100
pid=100
ppid=99
ppid=0
simpoint=0
system=system
uid=100

View File

@@ -311,21 +311,22 @@
"uid": 100,
"pid": 100,
"kvmInSE": false,
"cxx_class": "LiveProcess",
"executable": "/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello",
"cxx_class": "Process",
"executable": "/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello",
"drivers": [],
"system": "system",
"gid": 100,
"eventq_index": 0,
"env": [],
"input": "cin",
"ppid": 99,
"type": "LiveProcess",
"maxStackSize": 67108864,
"ppid": 0,
"type": "Process",
"cwd": "",
"pgid": 100,
"simpoint": 0,
"euid": 100,
"input": "cin",
"path": "system.cpu.workload",
"max_stack_size": 67108864,
"name": "workload",
"cmd": [
"hello"
@@ -350,6 +351,7 @@
"decodeToFetchDelay": 1,
"renameWidth": 8,
"numThreads": 1,
"syscallRetryLatency": 10000,
"squashWidth": 8,
"function_trace": false,
"backComSize": 5,
@@ -968,6 +970,7 @@
"switched_out": false,
"smtLSQPolicy": "Partitioned",
"fetchBufferSize": 64,
"cacheStorePorts": 200,
"simpoint_start_insts": [],
"max_insts_any_thread": 0,
"smtROBThreshold": 100,
@@ -1077,7 +1080,6 @@
"issueWidth": 8,
"LSQCheckLoads": true,
"commitToRenameDelay": 1,
"cachePorts": 200,
"system": "system",
"checker": null,
"numPhysFloatRegs": 256,

View File

@@ -1,4 +1,7 @@
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes)
warn: Unknown operating system; assuming Linux.
warn: Sockets disabled, not accepting gdb connections
warn: ClockedObject: More than one power state change request encountered within the same simulation tick
info: Entering event queue @ 0. Starting simulation...
warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings.
Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello'
info: Increasing stack size by one page.

View File

@@ -1,15 +1,13 @@
Redirecting stdout to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/o3-timing/simout
Redirecting stderr to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/o3-timing/simerr
Redirecting stdout to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/o3-timing/simout
Redirecting stderr to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/o3-timing/simerr
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Nov 30 2016 14:33:35
gem5 started Nov 30 2016 16:18:28
gem5 executing on zizzer, pid 34057
command line: /z/powerjg/gem5-upstream/build/RISCV/gem5.opt -d build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/o3-timing -re /z/powerjg/gem5-upstream/tests/testing/../run.py quick/se/00.hello/riscv/linux/o3-timing
gem5 compiled May 31 2017 18:33:59
gem5 started May 31 2017 18:34:13
gem5 executing on boldrock, pid 15720
command line: /home/ar4jc/gem5/build/RISCV/gem5.debug -d build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/o3-timing --stats-file 'text://stats.txt?desc=False' -re /home/ar4jc/gem5/tests/testing/../run.py quick/se/00.hello/riscv/linux/o3-timing
Global frequency set at 1000000000000 ticks per second
info: Entering event queue @ 0. Starting simulation...
info: Increasing stack size by one page.
Hello world!
Exiting @ tick 7939500 because target called exit()
Exiting @ tick 21876000 because exiting with last active thread context

File diff suppressed because it is too large Load Diff

View File

@@ -88,6 +88,7 @@ simulate_data_stalls=false
simulate_inst_stalls=false
socket_id=0
switched_out=false
syscallRetryLatency=10000
system=system
tracer=system.cpu.tracer
width=1
@@ -118,7 +119,7 @@ type=ExeTracer
eventq_index=0
[system.cpu.workload]
type=LiveProcess
type=Process
cmd=hello
cwd=
drivers=
@@ -127,14 +128,15 @@ env=
errout=cerr
euid=100
eventq_index=0
executable=/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello
executable=/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello
gid=100
input=cin
kvmInSE=false
max_stack_size=67108864
maxStackSize=67108864
output=cout
pgid=100
pid=100
ppid=99
ppid=0
simpoint=0
system=system
uid=100

View File

@@ -192,6 +192,7 @@
},
"p_state_clk_gate_bins": 20,
"p_state_clk_gate_min": 1000,
"syscallRetryLatency": 10000,
"interrupts": [
{
"eventq_index": 0,
@@ -216,21 +217,22 @@
"uid": 100,
"pid": 100,
"kvmInSE": false,
"cxx_class": "LiveProcess",
"executable": "/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello",
"cxx_class": "Process",
"executable": "/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello",
"drivers": [],
"system": "system",
"gid": 100,
"eventq_index": 0,
"env": [],
"input": "cin",
"ppid": 99,
"type": "LiveProcess",
"maxStackSize": 67108864,
"ppid": 0,
"type": "Process",
"cwd": "",
"pgid": 100,
"simpoint": 0,
"euid": 100,
"input": "cin",
"path": "system.cpu.workload",
"max_stack_size": 67108864,
"name": "workload",
"cmd": [
"hello"

View File

@@ -1,3 +1,6 @@
warn: Unknown operating system; assuming Linux.
warn: Sockets disabled, not accepting gdb connections
warn: ClockedObject: More than one power state change request encountered within the same simulation tick
info: Entering event queue @ 0. Starting simulation...
warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings.
Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello'
info: Increasing stack size by one page.

View File

@@ -1,15 +1,13 @@
Redirecting stdout to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-atomic/simout
Redirecting stderr to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-atomic/simerr
Redirecting stdout to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-atomic/simout
Redirecting stderr to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-atomic/simerr
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Nov 30 2016 14:33:35
gem5 started Nov 30 2016 16:18:29
gem5 executing on zizzer, pid 34058
command line: /z/powerjg/gem5-upstream/build/RISCV/gem5.opt -d build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-atomic -re /z/powerjg/gem5-upstream/tests/testing/../run.py quick/se/00.hello/riscv/linux/simple-atomic
gem5 compiled May 31 2017 18:33:59
gem5 started May 31 2017 18:34:14
gem5 executing on boldrock, pid 15724
command line: /home/ar4jc/gem5/build/RISCV/gem5.debug -d build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-atomic --stats-file 'text://stats.txt?desc=False' -re /home/ar4jc/gem5/tests/testing/../run.py quick/se/00.hello/riscv/linux/simple-atomic
Global frequency set at 1000000000000 ticks per second
info: Entering event queue @ 0. Starting simulation...
info: Increasing stack size by one page.
Hello world!
Exiting @ tick 798000 because target called exit()
Exiting @ tick 2783000 because exiting with last active thread context

View File

@@ -1,153 +1,156 @@
---------- Begin Simulation Statistics ----------
sim_seconds 0.000001 # Number of seconds simulated
sim_ticks 798000 # Number of ticks simulated
final_tick 798000 # Number of ticks from beginning of simulation (restored from checkpoints and never reset)
sim_freq 1000000000000 # Frequency of simulated ticks
host_inst_rate 49942 # Simulator instruction rate (inst/s)
host_op_rate 49911 # Simulator op (including micro ops) rate (op/s)
host_tick_rate 25081647 # Simulator tick rate (ticks/s)
host_mem_usage 221640 # Number of bytes of host memory used
host_seconds 0.03 # Real time elapsed on the host
sim_insts 1587 # Number of instructions simulated
sim_ops 1587 # Number of ops (including micro ops) simulated
system.voltage_domain.voltage 1 # Voltage in Volts
system.clk_domain.clock 1000 # Clock period in ticks
system.physmem.pwrStateResidencyTicks::UNDEFINED 798000 # Cumulative time (in ticks) in various power states
system.physmem.bytes_read::cpu.inst 6388 # Number of bytes read from this memory
system.physmem.bytes_read::cpu.data 1816 # Number of bytes read from this memory
system.physmem.bytes_read::total 8204 # Number of bytes read from this memory
system.physmem.bytes_inst_read::cpu.inst 6388 # Number of instructions bytes read from this memory
system.physmem.bytes_inst_read::total 6388 # Number of instructions bytes read from this memory
system.physmem.bytes_written::cpu.data 1750 # Number of bytes written to this memory
system.physmem.bytes_written::total 1750 # Number of bytes written to this memory
system.physmem.num_reads::cpu.inst 1597 # Number of read requests responded to by this memory
system.physmem.num_reads::cpu.data 289 # Number of read requests responded to by this memory
system.physmem.num_reads::total 1886 # Number of read requests responded to by this memory
system.physmem.num_writes::cpu.data 279 # Number of write requests responded to by this memory
system.physmem.num_writes::total 279 # Number of write requests responded to by this memory
system.physmem.bw_read::cpu.inst 8005012531 # Total read bandwidth from this memory (bytes/s)
system.physmem.bw_read::cpu.data 2275689223 # Total read bandwidth from this memory (bytes/s)
system.physmem.bw_read::total 10280701754 # Total read bandwidth from this memory (bytes/s)
system.physmem.bw_inst_read::cpu.inst 8005012531 # Instruction read bandwidth from this memory (bytes/s)
system.physmem.bw_inst_read::total 8005012531 # Instruction read bandwidth from this memory (bytes/s)
system.physmem.bw_write::cpu.data 2192982456 # Write bandwidth from this memory (bytes/s)
system.physmem.bw_write::total 2192982456 # Write bandwidth from this memory (bytes/s)
system.physmem.bw_total::cpu.inst 8005012531 # Total bandwidth to/from this memory (bytes/s)
system.physmem.bw_total::cpu.data 4468671679 # Total bandwidth to/from this memory (bytes/s)
system.physmem.bw_total::total 12473684211 # Total bandwidth to/from this memory (bytes/s)
system.pwrStateResidencyTicks::UNDEFINED 798000 # Cumulative time (in ticks) in various power states
system.cpu_clk_domain.clock 500 # Clock period in ticks
system.cpu.dtb.read_hits 0 # DTB read hits
system.cpu.dtb.read_misses 0 # DTB read misses
system.cpu.dtb.read_accesses 0 # DTB read accesses
system.cpu.dtb.write_hits 0 # DTB write hits
system.cpu.dtb.write_misses 0 # DTB write misses
system.cpu.dtb.write_accesses 0 # DTB write accesses
system.cpu.dtb.hits 0 # DTB hits
system.cpu.dtb.misses 0 # DTB misses
system.cpu.dtb.accesses 0 # DTB accesses
system.cpu.itb.read_hits 0 # DTB read hits
system.cpu.itb.read_misses 0 # DTB read misses
system.cpu.itb.read_accesses 0 # DTB read accesses
system.cpu.itb.write_hits 0 # DTB write hits
system.cpu.itb.write_misses 0 # DTB write misses
system.cpu.itb.write_accesses 0 # DTB write accesses
system.cpu.itb.hits 0 # DTB hits
system.cpu.itb.misses 0 # DTB misses
system.cpu.itb.accesses 0 # DTB accesses
system.cpu.workload.numSyscalls 9 # Number of system calls
system.cpu.pwrStateResidencyTicks::ON 798000 # Cumulative time (in ticks) in various power states
system.cpu.numCycles 1597 # number of cpu cycles simulated
system.cpu.numWorkItemsStarted 0 # number of work items this cpu started
system.cpu.numWorkItemsCompleted 0 # number of work items this cpu completed
system.cpu.committedInsts 1587 # Number of instructions committed
system.cpu.committedOps 1587 # Number of ops (including micro ops) committed
system.cpu.num_int_alu_accesses 1588 # Number of integer alu accesses
system.cpu.num_fp_alu_accesses 0 # Number of float alu accesses
system.cpu.num_func_calls 142 # number of times a function call or return occured
system.cpu.num_conditional_control_insts 231 # number of instructions that are conditional controls
system.cpu.num_int_insts 1588 # number of integer instructions
system.cpu.num_fp_insts 0 # number of float instructions
system.cpu.num_int_register_reads 2062 # number of times the integer registers were read
system.cpu.num_int_register_writes 1077 # number of times the integer registers were written
system.cpu.num_fp_register_reads 0 # number of times the floating registers were read
system.cpu.num_fp_register_writes 0 # number of times the floating registers were written
system.cpu.num_mem_refs 569 # number of memory refs
system.cpu.num_load_insts 289 # Number of load instructions
system.cpu.num_store_insts 280 # Number of store instructions
system.cpu.num_idle_cycles 0 # Number of idle cycles
system.cpu.num_busy_cycles 1597 # Number of busy cycles
system.cpu.not_idle_fraction 1 # Percentage of non-idle cycles
system.cpu.idle_fraction 0 # Percentage of idle cycles
system.cpu.Branches 373 # Number of branches fetched
system.cpu.op_class::No_OpClass 9 0.56% 0.56% # Class of executed instruction
system.cpu.op_class::IntAlu 1019 63.81% 64.37% # Class of executed instruction
system.cpu.op_class::IntMult 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::IntDiv 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::FloatAdd 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::FloatCmp 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::FloatCvt 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::FloatMult 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::FloatMultAcc 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::FloatDiv 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::FloatMisc 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::FloatSqrt 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdAdd 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdAddAcc 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdAlu 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdCmp 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdCvt 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdMisc 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdMult 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdMultAcc 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdShift 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdShiftAcc 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdSqrt 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatAdd 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatAlu 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatCmp 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatCvt 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatDiv 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatMisc 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatMult 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatMultAcc 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::SimdFloatSqrt 0 0.00% 64.37% # Class of executed instruction
system.cpu.op_class::MemRead 289 18.10% 82.47% # Class of executed instruction
system.cpu.op_class::MemWrite 280 17.53% 100.00% # Class of executed instruction
system.cpu.op_class::FloatMemRead 0 0.00% 100.00% # Class of executed instruction
system.cpu.op_class::FloatMemWrite 0 0.00% 100.00% # Class of executed instruction
system.cpu.op_class::IprAccess 0 0.00% 100.00% # Class of executed instruction
system.cpu.op_class::InstPrefetch 0 0.00% 100.00% # Class of executed instruction
system.cpu.op_class::total 1597 # Class of executed instruction
system.membus.snoop_filter.tot_requests 0 # Total number of requests made to the snoop filter.
system.membus.snoop_filter.hit_single_requests 0 # Number of requests hitting in the snoop filter with a single holder of the requested data.
system.membus.snoop_filter.hit_multi_requests 0 # Number of requests hitting in the snoop filter with multiple (>1) holders of the requested data.
system.membus.snoop_filter.tot_snoops 0 # Total number of snoops made to the snoop filter.
system.membus.snoop_filter.hit_single_snoops 0 # Number of snoops hitting in the snoop filter with a single holder of the requested data.
system.membus.snoop_filter.hit_multi_snoops 0 # Number of snoops hitting in the snoop filter with multiple (>1) holders of the requested data.
system.membus.pwrStateResidencyTicks::UNDEFINED 798000 # Cumulative time (in ticks) in various power states
system.membus.trans_dist::ReadReq 1886 # Transaction distribution
system.membus.trans_dist::ReadResp 1886 # Transaction distribution
system.membus.trans_dist::WriteReq 279 # Transaction distribution
system.membus.trans_dist::WriteResp 279 # Transaction distribution
system.membus.pkt_count_system.cpu.icache_port::system.physmem.port 3194 # Packet count per connected master and slave (bytes)
system.membus.pkt_count_system.cpu.dcache_port::system.physmem.port 1136 # Packet count per connected master and slave (bytes)
system.membus.pkt_count::total 4330 # Packet count per connected master and slave (bytes)
system.membus.pkt_size_system.cpu.icache_port::system.physmem.port 6388 # Cumulative packet size per connected master and slave (bytes)
system.membus.pkt_size_system.cpu.dcache_port::system.physmem.port 3566 # Cumulative packet size per connected master and slave (bytes)
system.membus.pkt_size::total 9954 # Cumulative packet size per connected master and slave (bytes)
system.membus.snoops 0 # Total snoops (count)
system.membus.snoopTraffic 0 # Total snoop traffic (bytes)
system.membus.snoop_fanout::samples 2165 # Request fanout histogram
system.membus.snoop_fanout::mean 0 # Request fanout histogram
system.membus.snoop_fanout::stdev 0 # Request fanout histogram
system.membus.snoop_fanout::underflows 0 0.00% 0.00% # Request fanout histogram
system.membus.snoop_fanout::0 2165 100.00% 100.00% # Request fanout histogram
system.membus.snoop_fanout::1 0 0.00% 100.00% # Request fanout histogram
system.membus.snoop_fanout::overflows 0 0.00% 100.00% # Request fanout histogram
system.membus.snoop_fanout::min_value 0 # Request fanout histogram
system.membus.snoop_fanout::max_value 0 # Request fanout histogram
system.membus.snoop_fanout::total 2165 # Request fanout histogram
sim_seconds 0.000003
sim_ticks 2783000
final_tick 2783000
sim_freq 1000000000000
host_inst_rate 86590
host_op_rate 86699
host_tick_rate 43405073
host_mem_usage 264628
host_seconds 0.06
sim_insts 5550
sim_ops 5558
system.voltage_domain.voltage 1
system.clk_domain.clock 1000
system.physmem.pwrStateResidencyTicks::UNDEFINED 2783000
system.physmem.bytes_read::cpu.inst 22236
system.physmem.bytes_read::cpu.data 7346
system.physmem.bytes_read::total 29582
system.physmem.bytes_inst_read::cpu.inst 22236
system.physmem.bytes_inst_read::total 22236
system.physmem.bytes_written::cpu.data 8138
system.physmem.bytes_written::total 8138
system.physmem.num_reads::cpu.inst 5559
system.physmem.num_reads::cpu.data 1101
system.physmem.num_reads::total 6660
system.physmem.num_writes::cpu.data 1097
system.physmem.num_writes::total 1097
system.physmem.bw_read::cpu.inst 7989938915
system.physmem.bw_read::cpu.data 2639597557
system.physmem.bw_read::total 10629536471
system.physmem.bw_inst_read::cpu.inst 7989938915
system.physmem.bw_inst_read::total 7989938915
system.physmem.bw_write::cpu.data 2924182537
system.physmem.bw_write::total 2924182537
system.physmem.bw_total::cpu.inst 7989938915
system.physmem.bw_total::cpu.data 5563780093
system.physmem.bw_total::total 13553719008
system.pwrStateResidencyTicks::UNDEFINED 2783000
system.cpu_clk_domain.clock 500
system.cpu.dtb.read_hits 0
system.cpu.dtb.read_misses 0
system.cpu.dtb.read_accesses 0
system.cpu.dtb.write_hits 0
system.cpu.dtb.write_misses 0
system.cpu.dtb.write_accesses 0
system.cpu.dtb.hits 0
system.cpu.dtb.misses 0
system.cpu.dtb.accesses 0
system.cpu.itb.read_hits 0
system.cpu.itb.read_misses 0
system.cpu.itb.read_accesses 0
system.cpu.itb.write_hits 0
system.cpu.itb.write_misses 0
system.cpu.itb.write_accesses 0
system.cpu.itb.hits 0
system.cpu.itb.misses 0
system.cpu.itb.accesses 0
system.cpu.workload.numSyscalls 9
system.cpu.pwrStateResidencyTicks::ON 2783000
system.cpu.numCycles 5567
system.cpu.numWorkItemsStarted 0
system.cpu.numWorkItemsCompleted 0
system.cpu.committedInsts 5550
system.cpu.committedOps 5558
system.cpu.num_int_alu_accesses 5557
system.cpu.num_fp_alu_accesses 12
system.cpu.num_func_calls 291
system.cpu.num_conditional_control_insts 914
system.cpu.num_int_insts 5557
system.cpu.num_fp_insts 12
system.cpu.num_int_register_reads 7540
system.cpu.num_int_register_writes 3562
system.cpu.num_fp_register_reads 12
system.cpu.num_fp_register_writes 0
system.cpu.num_mem_refs 2198
system.cpu.num_load_insts 1101
system.cpu.num_store_insts 1097
system.cpu.num_idle_cycles 0
system.cpu.num_busy_cycles 5567
system.cpu.not_idle_fraction 1
system.cpu.idle_fraction 0
system.cpu.Branches 1205
system.cpu.op_class::No_OpClass 10 0.18% 0.18%
system.cpu.op_class::IntAlu 3353 60.23% 60.41%
system.cpu.op_class::IntMult 2 0.04% 60.45%
system.cpu.op_class::IntDiv 4 0.07% 60.52%
system.cpu.op_class::FloatAdd 0 0.00% 60.52%
system.cpu.op_class::FloatCmp 0 0.00% 60.52%
system.cpu.op_class::FloatCvt 0 0.00% 60.52%
system.cpu.op_class::FloatMult 0 0.00% 60.52%
system.cpu.op_class::FloatMultAcc 0 0.00% 60.52%
system.cpu.op_class::FloatDiv 0 0.00% 60.52%
system.cpu.op_class::FloatMisc 0 0.00% 60.52%
system.cpu.op_class::FloatSqrt 0 0.00% 60.52%
system.cpu.op_class::SimdAdd 0 0.00% 60.52%
system.cpu.op_class::SimdAddAcc 0 0.00% 60.52%
system.cpu.op_class::SimdAlu 0 0.00% 60.52%
system.cpu.op_class::SimdCmp 0 0.00% 60.52%
system.cpu.op_class::SimdCvt 0 0.00% 60.52%
system.cpu.op_class::SimdMisc 0 0.00% 60.52%
system.cpu.op_class::SimdMult 0 0.00% 60.52%
system.cpu.op_class::SimdMultAcc 0 0.00% 60.52%
system.cpu.op_class::SimdShift 0 0.00% 60.52%
system.cpu.op_class::SimdShiftAcc 0 0.00% 60.52%
system.cpu.op_class::SimdSqrt 0 0.00% 60.52%
system.cpu.op_class::SimdFloatAdd 0 0.00% 60.52%
system.cpu.op_class::SimdFloatAlu 0 0.00% 60.52%
system.cpu.op_class::SimdFloatCmp 0 0.00% 60.52%
system.cpu.op_class::SimdFloatCvt 0 0.00% 60.52%
system.cpu.op_class::SimdFloatDiv 0 0.00% 60.52%
system.cpu.op_class::SimdFloatMisc 0 0.00% 60.52%
system.cpu.op_class::SimdFloatMult 0 0.00% 60.52%
system.cpu.op_class::SimdFloatMultAcc 0 0.00% 60.52%
system.cpu.op_class::SimdFloatSqrt 0 0.00% 60.52%
system.cpu.op_class::MemRead 1101 19.78% 80.29%
system.cpu.op_class::MemWrite 1085 19.49% 99.78%
system.cpu.op_class::FloatMemRead 0 0.00% 99.78%
system.cpu.op_class::FloatMemWrite 12 0.22% 100.00%
system.cpu.op_class::IprAccess 0 0.00% 100.00%
system.cpu.op_class::InstPrefetch 0 0.00% 100.00%
system.cpu.op_class::total 5567
system.membus.snoop_filter.tot_requests 0
system.membus.snoop_filter.hit_single_requests 0
system.membus.snoop_filter.hit_multi_requests 0
system.membus.snoop_filter.tot_snoops 0
system.membus.snoop_filter.hit_single_snoops 0
system.membus.snoop_filter.hit_multi_snoops 0
system.membus.pwrStateResidencyTicks::UNDEFINED 2783000
system.membus.trans_dist::ReadReq 6652
system.membus.trans_dist::ReadResp 6660
system.membus.trans_dist::WriteReq 1089
system.membus.trans_dist::WriteResp 1089
system.membus.trans_dist::LoadLockedReq 8
system.membus.trans_dist::StoreCondReq 8
system.membus.trans_dist::StoreCondResp 8
system.membus.pkt_count_system.cpu.icache_port::system.physmem.port 11118
system.membus.pkt_count_system.cpu.dcache_port::system.physmem.port 4396
system.membus.pkt_count::total 15514
system.membus.pkt_size_system.cpu.icache_port::system.physmem.port 22236
system.membus.pkt_size_system.cpu.dcache_port::system.physmem.port 15484
system.membus.pkt_size::total 37720
system.membus.snoops 0
system.membus.snoopTraffic 0
system.membus.snoop_fanout::samples 7757
system.membus.snoop_fanout::mean 0
system.membus.snoop_fanout::stdev 0
system.membus.snoop_fanout::underflows 0 0.00% 0.00%
system.membus.snoop_fanout::0 7757 100.00% 100.00%
system.membus.snoop_fanout::1 0 0.00% 100.00%
system.membus.snoop_fanout::overflows 0 0.00% 100.00%
system.membus.snoop_fanout::min_value 0
system.membus.snoop_fanout::max_value 0
system.membus.snoop_fanout::total 7757
---------- End Simulation Statistics ----------

View File

@@ -85,6 +85,7 @@ progress_interval=0
simpoint_start_insts=
socket_id=0
switched_out=false
syscallRetryLatency=10000
system=system
tracer=system.cpu.tracer
workload=system.cpu.workload
@@ -122,7 +123,7 @@ type=ExeTracer
eventq_index=0
[system.cpu.workload]
type=LiveProcess
type=Process
cmd=hello
cwd=
drivers=
@@ -131,14 +132,15 @@ env=
errout=cerr
euid=100
eventq_index=0
executable=/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello
executable=/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello
gid=100
input=cin
kvmInSE=false
max_stack_size=67108864
maxStackSize=67108864
output=cout
pgid=100
pid=100
ppid=99
ppid=0
simpoint=0
system=system
uid=100
@@ -297,6 +299,7 @@ type=RubyDirectoryMemory
eventq_index=0
numa_high_bit=5
size=268435456
system=system
version=0
[system.ruby.dir_cntrl0.dmaRequestToDir]

View File

@@ -1487,6 +1487,7 @@
"p_state_clk_gate_bins": 20,
"directory": {
"name": "directory",
"system": "system",
"version": 0,
"eventq_index": 0,
"cxx_class": "DirectoryMemory",
@@ -1548,6 +1549,7 @@
},
"p_state_clk_gate_bins": 20,
"p_state_clk_gate_min": 1,
"syscallRetryLatency": 10000,
"interrupts": [
{
"eventq_index": 0,
@@ -1572,21 +1574,22 @@
"uid": 100,
"pid": 100,
"kvmInSE": false,
"cxx_class": "LiveProcess",
"executable": "/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello",
"cxx_class": "Process",
"executable": "/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello",
"drivers": [],
"system": "system",
"gid": 100,
"eventq_index": 0,
"env": [],
"input": "cin",
"ppid": 99,
"type": "LiveProcess",
"maxStackSize": 67108864,
"ppid": 0,
"type": "Process",
"cwd": "",
"pgid": 100,
"simpoint": 0,
"euid": 100,
"input": "cin",
"path": "system.cpu.workload",
"max_stack_size": 67108864,
"name": "workload",
"cmd": [
"hello"

View File

@@ -4,8 +4,13 @@ warn: rounding error > tolerance
1.250000 rounded to 1
warn: rounding error > tolerance
1.250000 rounded to 1
warn: rounding error > tolerance
1.250000 rounded to 1
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes)
warn: Unknown operating system; assuming Linux.
warn: Sockets disabled, not accepting gdb connections
warn: ClockedObject: More than one power state change request encountered within the same simulation tick
info: Entering event queue @ 0. Starting simulation...
warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files!
warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings.
Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello'
info: Increasing stack size by one page.

View File

@@ -1,15 +1,13 @@
Redirecting stdout to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-timing-ruby/simout
Redirecting stderr to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-timing-ruby/simerr
Redirecting stdout to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing-ruby/simout
Redirecting stderr to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing-ruby/simerr
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Nov 30 2016 14:33:35
gem5 started Nov 30 2016 16:18:29
gem5 executing on zizzer, pid 34060
command line: /z/powerjg/gem5-upstream/build/RISCV/gem5.opt -d build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-timing-ruby -re /z/powerjg/gem5-upstream/tests/testing/../run.py quick/se/00.hello/riscv/linux/simple-timing-ruby
gem5 compiled May 31 2017 18:33:59
gem5 started May 31 2017 18:34:14
gem5 executing on boldrock, pid 15732
command line: /home/ar4jc/gem5/build/RISCV/gem5.debug -d build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing-ruby --stats-file 'text://stats.txt?desc=False' -re /home/ar4jc/gem5/tests/testing/../run.py quick/se/00.hello/riscv/linux/simple-timing-ruby
Global frequency set at 1000000000 ticks per second
info: Entering event queue @ 0. Starting simulation...
info: Increasing stack size by one page.
Hello world!
Exiting @ tick 27947 because target called exit()
Exiting @ tick 99780 because exiting with last active thread context

View File

@@ -85,6 +85,7 @@ progress_interval=0
simpoint_start_insts=
socket_id=0
switched_out=false
syscallRetryLatency=10000
system=system
tracer=system.cpu.tracer
workload=system.cpu.workload
@@ -287,7 +288,7 @@ type=ExeTracer
eventq_index=0
[system.cpu.workload]
type=LiveProcess
type=Process
cmd=hello
cwd=
drivers=
@@ -296,14 +297,15 @@ env=
errout=cerr
euid=100
eventq_index=0
executable=/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello
executable=/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello
gid=100
input=cin
kvmInSE=false
max_stack_size=67108864
maxStackSize=67108864
output=cout
pgid=100
pid=100
ppid=99
ppid=0
simpoint=0
system=system
uid=100

View File

@@ -292,6 +292,7 @@
},
"p_state_clk_gate_bins": 20,
"p_state_clk_gate_min": 1000,
"syscallRetryLatency": 10000,
"interrupts": [
{
"eventq_index": 0,
@@ -376,21 +377,22 @@
"uid": 100,
"pid": 100,
"kvmInSE": false,
"cxx_class": "LiveProcess",
"executable": "/z/powerjg/gem5-upstream/tests/test-progs/hello/bin/riscv/linux/hello",
"cxx_class": "Process",
"executable": "/home/ar4jc/gem5/tests/testing/../test-progs/hello/bin/riscv/linux/hello",
"drivers": [],
"system": "system",
"gid": 100,
"eventq_index": 0,
"env": [],
"input": "cin",
"ppid": 99,
"type": "LiveProcess",
"maxStackSize": 67108864,
"ppid": 0,
"type": "Process",
"cwd": "",
"pgid": 100,
"simpoint": 0,
"euid": 100,
"input": "cin",
"path": "system.cpu.workload",
"max_stack_size": 67108864,
"name": "workload",
"cmd": [
"hello"

View File

@@ -1,3 +1,6 @@
warn: Unknown operating system; assuming Linux.
warn: Sockets disabled, not accepting gdb connections
warn: ClockedObject: More than one power state change request encountered within the same simulation tick
info: Entering event queue @ 0. Starting simulation...
warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings.
Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello'
info: Increasing stack size by one page.

View File

@@ -1,15 +1,13 @@
Redirecting stdout to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-timing/simout
Redirecting stderr to build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-timing/simerr
Redirecting stdout to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing/simout
Redirecting stderr to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing/simerr
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Nov 30 2016 14:33:35
gem5 started Nov 30 2016 16:18:29
gem5 executing on zizzer, pid 34059
command line: /z/powerjg/gem5-upstream/build/RISCV/gem5.opt -d build/RISCV/tests/opt/quick/se/00.hello/riscv/linux/simple-timing -re /z/powerjg/gem5-upstream/tests/testing/../run.py quick/se/00.hello/riscv/linux/simple-timing
gem5 compiled May 31 2017 18:33:59
gem5 started May 31 2017 18:34:14
gem5 executing on boldrock, pid 15728
command line: /home/ar4jc/gem5/build/RISCV/gem5.debug -d build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing --stats-file 'text://stats.txt?desc=False' -re /home/ar4jc/gem5/tests/testing/../run.py quick/se/00.hello/riscv/linux/simple-timing
Global frequency set at 1000000000000 ticks per second
info: Entering event queue @ 0. Starting simulation...
info: Increasing stack size by one page.
Hello world!
Exiting @ tick 11602500 because target called exit()
Exiting @ tick 34045500 because exiting with last active thread context

File diff suppressed because it is too large Load Diff