Accessing x86 Performance Counters

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 13 02:07:10 PDT 2015


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.

For linux, you could try:

https://www.google.no/search?q=perf_events


More information about the Digitalmars-d-learn mailing list