darcs patch: Mark the event number ranges reserved by... (and 2 more)

spencer at well-typed.com spencer at well-typed.com
Wed Mar 16 20:49:58 CET 2011


These patches implement capability sets in the tracing framework, as discussed
on the parallel-haskell list.

http://groups.google.com/group/parallel-haskell/browse_thread/thread/276c59039e4dc7e2

We've done our best to preserve the separation of each layer, I would
appreciate any suggestions for improvement.


Cheers,
Spencer Janssen

3 patches for repository http://darcs.haskell.org/ghc:

Thu Mar  3 05:30:52 CST 2011  Duncan Coutts <duncan at well-typed.com>
  * Mark the event number ranges reserved by eden
  And add a few other explanitory comments.

Tue Mar 15 13:56:28 CDT 2011  Duncan Coutts <duncan at well-typed.com>
  * Add new capability set concept to the event/trace system
  Capability sets are a bit of new infrastructure for the ghc
  event/trace system that hopefully is reasonably generic and will
  have multiple uses.
  
  A capability set is just a set of capabilities. Some information
  that we would like to emit in an event log should be attached not
  to an individual Haskell thread or RTS capability, but should be
  identified with a certain set of RTS capabilities. For example the
  OS process ID is identified with all the capabilities in the RTS
  instance. The OS PID is not global however: we wish to merge event
  logs from multiple processes (either concurrent processes or from
  multiple runs of the same process). A capability set (capset)
  provides a context to attach such information.
  
  This patch adds the basic events for keeping track of capability
  sets. It exposes them both in the event log and via dtrace.

Wed Mar 16 14:28:12 CDT 2011  spencer at well-typed.com
  * Trace capability set events
  Each capability is added to a process-level capability set.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 115742 bytes
Desc: A darcs patch for your repository!
URL: <http://www.haskell.org/pipermail/cvs-ghc/attachments/20110316/55feaaba/attachment-0001.bin>


More information about the Cvs-ghc mailing list