Open anilavakundu opened 2 years ago
Hi @anilavakundu thanks a lot for trying out the BHive testing harness. If I understand correctly the result you have copied is from the command - ?
./test 90 200
(or 100)
This is not the complete procedure to measure the throughput for an instruction. You should measure the average cycles for 100 and 200 iterations. Then take the difference and divide by 100.
This is documented in the README in the timing-harness directory - https://github.com/ithemal/bhive/blob/master/timing-harness/README.md
# We calculate the throughput as follows. $ python <(echo 'print "Throughput:", (891.0 - 791.0)/100') Throughput: 1.00
Hope this helps
Hi I was testing the timing harness script
I was looking at the output cycles for a no-op instruction (hex equivalent of 90)
The following is the output that I am getting
Why is the cycles for a no-op instruction this high? Am I doing something wrong?