Created
February 10, 2017 14:28
-
-
Save thomwiggers/35ea6dad657eefaf59ab7506fb6683b5 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
long long cycles, cycles2; | |
puts("Measuring..."); | |
for(int i = 0; i < N_TESTS; ++i) { | |
cycles = cpucycles(); | |
core(fenx, feny, x, 32); | |
cycles2 = cpucycles(); | |
tests[i] = cycles2 - cycles; | |
if (i == N_TESTS/2) { | |
puts("Halfway through"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment