coremark workload. tested on boom

This commit is contained in:
Sagar Karandikar 2019-04-26 17:22:57 +00:00
parent 44e73c71c3
commit 4872b8172e
4 changed files with 28 additions and 1 deletions

View File

@ -106,8 +106,13 @@ fc-test:
ln -sf ../../../sw/network-benchmarks/fc-test/fc-client.riscv $@/fc-client.riscv
ln -sf ../../../sw/network-benchmarks/fc-test/fc-server.riscv $@/fc-server.riscv
coremark:
cd coremark/riscv-coremark/coremark && make CC=riscv64-unknown-linux-gnu-gcc compile
mv coremark/riscv-coremark/coremark/coremark.exe coremark/overlay/coremark.riscv
python gen-benchmark-rootfs.py -w $@.json -r -b $(BASE_IMAGE) -s $@/overlay
.PHONY: $(spec17_overlays) $(spec17_rootfs_dirs) gapbs fedora-uniform \
memcached-thread-imbalance bw-test-one-instance bw-test-two-instances \
ping-latency simperf-test simperf-test-latency simperf-test-scale \
iperf3 check-rtc check-rtc-linux allpaper checksum-test \
ccbench-cache-sweep flash-stress fc-test
ccbench-cache-sweep flash-stress fc-test coremark

View File

@ -0,0 +1,19 @@
{
"common_bootbinary" : "bbl-vmlinux",
"benchmark_name" : "coremark",
"deliver_dir" : "/",
"common_args" : [],
"common_files" : ["coremark.riscv"],
"common_outputs" : [],
"common_simulation_outputs" : ["uartlog"],
"NOpost_run_hook": "python process-data.py",
"workloads" : [
{
"name": "coremark",
"files": [],
"command": "/coremark.riscv",
"simulation_outputs": [],
"outputs": []
}
]
}

2
deploy/workloads/coremark/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
coremark.ext2
overlay

View File

@ -0,0 +1 @@
../linux-uniform/br-base-bin