summaryrefslogtreecommitdiff
path: root/docs/users_guide/profiling.xml
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-12-01 15:42:54 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-12-01 15:42:54 +0000
commit73e0deb3da9b301d6650587c348f97a6e662215d (patch)
treefe759f133d14691e6db4b7cdffa06bf97038c7b4 /docs/users_guide/profiling.xml
parent323950933d3260503186b93e7a5a7bdaa4822c1b (diff)
downloadhaskell-73e0deb3da9b301d6650587c348f97a6e662215d.tar.gz
Fix PS file generation
(the image doesn't work, but at least db2latex doesn't fall over)
Diffstat (limited to 'docs/users_guide/profiling.xml')
-rw-r--r--docs/users_guide/profiling.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/users_guide/profiling.xml b/docs/users_guide/profiling.xml
index 4d6e835c25..7d33ee8214 100644
--- a/docs/users_guide/profiling.xml
+++ b/docs/users_guide/profiling.xml
@@ -280,7 +280,12 @@ main = do let xs = {-# SCC "X" #-} [1..1000000]
<para>which gives this heap profile when run:</para>
- <imagedata fileref="prof_scc.png"/>
+ <!-- contentwidth/contentheight don't appear to have any effect
+ other than making the PS file generation work, rather than
+ falling over. The result seems to be broken PS on the page
+ with the image. -->
+ <imagedata fileref="prof_scc" contentwidth="645px"
+ contentdepth="428px"/>
</sect2>