On Wednesday, 13 May 2015 at 03:38:33 UTC, Maxime Chevalier-Boisvert wrote:
I was wondering if anyone has written D code to access the x86 performance counters, to get information such as the number of cache misses and cycle count.
It would probably be easiest to write some bindings to PAPI-C or similar. As far as I know, DIY hardware performance monitoring isn't worth the effort.