From d555f17dd2d41536db7f09bea8bc1bf006e1c6e4 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 29 Aug 2007 12:21:26 +0000 Subject: [PATCH] Remove text about ghcprof. It almost certainly doesn't work. --- docs/users_guide/profiling.xml | 58 +--------------------------------------- 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/docs/users_guide/profiling.xml b/docs/users_guide/profiling.xml index 3442aee..76e4bcf 100644 --- a/docs/users_guide/profiling.xml +++ b/docs/users_guide/profiling.xml @@ -240,9 +240,7 @@ MAIN MAIN 0 0.0 0.0 100.0 100.0 although GHC does keep information about which groups of functions called each other recursively, this information isn't displayed in the basic time and allocation profile, instead the call-graph is - flattened into a tree. The XML profiling tool (described in ) will be able to display real loops in - the call-graph. + flattened into a tree. Inserting cost centres by hand @@ -455,18 +453,6 @@ x = nfib 25 - : - - - - The option generates profiling - information in the XML format understood by our new - profiling tool, see . - - - - - RTS option @@ -961,48 +947,6 @@ x = nfib 25 - - Graphical time/allocation profile - - You can view the time and allocation profiling graph of your - program graphically, using ghcprof. This is a - new tool with GHC 4.08, and will eventually be the de-facto - standard way of viewing GHC profilesActually this - isn't true any more, we are working on a new tool for - displaying heap profiles using Gtk+HS, so - ghcprof may go away at some point in the future. - - - To run ghcprof, you need - uDraw(Graph) installed, which can be - obtained from uDraw(Graph). Install one of - the binary - distributions, and set your - UDG_HOME environment variable to point to the - installation directory. - - ghcprof uses an XML-based profiling log - format, and you therefore need to run your program with a - different option: . The file generated is - still called <prog>.prof. To see the - profile, run ghcprof like this: - - - - -$ ghcprof <prog>.prof - - - which should pop up a window showing the call-graph of your - program in glorious detail. More information on using - ghcprof can be found at The - Cost-Centre Stack Profiling Tool for - GHC. - - - <command>hp2ps</command>––heap profile to PostScript -- 1.7.10.4