I'm toying around with the cache-conflicts code, and I'm using a higher count than you did in your benchmark. However, the repetition count than makes the program run for absolutely forever. So maybe you could do:
#ifndef REPETITIONS
#define REPETITIONS 10000000
#endif
so that it becomes possible to override that count.
After that I can of course recompile by hand, but beats me if I can figure out how to use your build system and pass the -DREPETITIONS=1000 to the compiler.
Thoughts?
I'm toying around with the cache-conflicts code, and I'm using a higher count than you did in your benchmark. However, the repetition count than makes the program run for absolutely forever. So maybe you could do:
so that it becomes possible to override that count.
After that I can of course recompile by hand, but beats me if I can figure out how to use your build system and pass the
-DREPETITIONS=1000to the compiler.Thoughts?