[Haskell-cafe] Re: Using PAPI to measure performance with CPU events

Alexey Rodriguez Yakushev mrchebas at gmail.com
Thu Jan 11 11:23:12 EST 2007


The URL might be useful to some :)

http://hackage.haskell.org/trac/ghc/wiki/PAPI


On Jan 11, 2007, at 17:10, Alexey Rodriguez Yakushev wrote:

> Dear all,
>
> I have added a page to the GHC commentary explaining how to use the  
> PAPI library together with GHC to gather performance information  
> from your CPU (cache misses, branch misprediction). At present only  
> cache miss information is supported in a platform independent way  
> (though not tested). Also, this implementation separates the  
> performance information for the garbage collector and the mutator  
> so it is quite useful if you are implementing an optimisation.
>
> The page also has some patches to use PAPI on the nofib suite.  
> These patches are eventually going to make it into the HEAD, but I  
> thought someone might find them useful meanwhile.
>
> Cheers,
>
> Alexey



More information about the Haskell-Cafe mailing list