parallel cost-centre profiling
hferreiro at udc.es
Tue Mar 16 15:34:38 EDT 2010
I am trying to make cost centre profiling work in the threaded rts
build in order to use that information to better understand parallel
Currently I am learning about the internals of GHC and I am thinking
about how this could be done. The main blocker is that the current
cost centre stack is a shared global variable. The simplest solution I
came up with is to convert it to a thread local variable. The problem
would be how to access it from the global timer.
As I don't have the full picture yet, I would greatly appreciate if
some of you could give me some advice on how to tackle this problem.
Would it be possible to use thread local storage for this? Is there a
Thanks in advance.
More information about the Cvs-ghc