Created
April 14, 2018 18:32
-
-
Save FRosner/cb92fea019c5a07a82c10c7481cb562a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for s in 10 50 100 250 500 1000 1500 2000 2500 3000 | |
do | |
for m in 1 2 | |
do | |
# Run mult$m with size $s and record CPU counters | |
perf stat -e L1-dcache-loads,L1-dcache-load-misses \ | |
java -jar cpumemory.jar $s $m | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment