I was wondering if it handles per-thread information when you have more than one thread involved. (Actually the question is not related to the graphical tool, but the announcement triggered it).<br>Best.<br>Cristian<br><br>
<div class="gmail_quote">2008/3/8 Gregory Wright &lt;<a href="mailto:gwright@comcast.net">gwright@comcast.net</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><br><div><br></div><div>I am pleased to announce the first release of prof2dot, a graphical profiling tool</div><div>for use with GHC.</div><div><br></div><div>While GHC has in the past worked with graphical profiling tools, they&nbsp;</div>
<div>have been heavyweight and/or proprietary. &nbsp;Prof2dot is a simple tool for</div><div>converting profiling information into a graphical format, released under a BSD3</div><div>license. &nbsp;It is simple because it offloads all of the work of rendering the graph</div>
<div>onto Graphviz. &nbsp;So you need to install the Graphviz tools in order to use it.</div><div><br></div><div>The program is a filter that takes the profiling output generated by running</div><div>a GHC-compiled program with the &quot;+RTS -px -RTS&quot; option and turns it into</div>
<div>a dot file. &nbsp;(The &quot;dot&quot; format is a textual representation of a directed or undirected graph.)</div><div>The dot file can rendered in any format supported by Graphviz&#39;s</div><div>dot program, and the file itself can be post-processed or edited to adjust the</div>
<div>layout.</div><div><br></div><div>Features of prof2dot:</div><div><br></div><div><span style="white-space: pre;">        </span>* display either the call graph (default) or the call tree,</div><div><br></div><div><span style="white-space: pre;">        </span>* colorize by cost center count, time or allocations,<br>
</div><div><br></div><div><span style="white-space: pre;">        </span>* group cost centers in the same module.<br></div><div><br></div><div>Prof2dot installs as a typical caballized application.</div><div>Running &quot;prof2dot -?&quot; from the command line will give a short summary of</div>
<div>how to use the program and its options.</div><div><br></div><div>Rendering very large graphs can exceed the internal resource limits of dot.</div><div>You may have to compile your own version of the Graphviz tools with higher limits</div>
<div>to handle these cases.</div><div><br></div><div>A example of a colorized profile of a medium sized project is shown on our</div><div>company&#39;s web site:&nbsp;ht<a href="http://antiope.com/downloads.html" target="_blank">tp://antiope.com/downloads.html</a>. &nbsp;Click on the small</div>
<div>image to download a pdf of the complete profile graph.</div><div><br></div><div>Prof2dot is available from hackage or the link given above.</div><div><br></div><div><br></div><div>-Greg</div></div><br>_______________________________________________<br>

Glasgow-haskell-users mailing list<br>
<a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
<br></blockquote></div><br>