Follow steps below:
Step 1: get the program ( queen.c program is used in this case )
[~/gem5] wget https://llvm.org/svn/llvm-project/test-suite/tags/RELEASE_14/SingleSource/Benchmarks/McGill/queens.c
Step 2: compile the program, it is recommended to compile with static flag
[~/gem5] arm-linux-gnueabi-gcc –DUNIX –o queens queens.c –static
Step 3:run program in SE mode
[~/gem5] ./build/ARM/gem5.opt configs/example/se.py -c queens –o 16
Step 4: display statistics:
[~/gem5] cat m5out/stats.txt
Step 1: get the program ( queen.c program is used in this case )
[~/gem5] wget https://llvm.org/svn/llvm-project/test-suite/tags/RELEASE_14/SingleSource/Benchmarks/McGill/queens.c
Step 2: compile the program, it is recommended to compile with static flag
[~/gem5] arm-linux-gnueabi-gcc –DUNIX –o queens queens.c –static
Step 3:run program in SE mode
[~/gem5] ./build/ARM/gem5.opt configs/example/se.py -c queens –o 16
Step 4: display statistics:
[~/gem5] cat m5out/stats.txt
No comments:
Post a Comment