Re: Cost Centre MAIN

2010-09-19 Thread Christian Höner zu Siederdissen
Yeah that was a bit lazy by me (or bull, if you want...;-); looks like you have runStmLogger on the top-level of your Main module ("MAIN") as well. What functions are defined there? And what vars? Gruss, Christian * Stefan Wehr [19.09.2010 20:28]: > 2010/9/19 Christian Höner zu Siederdissen : >

Re: Cost Centre MAIN

2010-09-19 Thread Christian Höner zu Siederdissen
You should either try "-auto-all" while compiling to get cost centres for every top-level function or insert cost centres by hand with "SCC": http://haskell.cs.yale.edu/ghc/docs/6.12.2/html/users_guide/profiling.html Otherwise, MAIN is "main = ..." Gruss, Christian * Stefan Wehr [19.09.2010 1

Cost Centre MAIN

2010-09-19 Thread Stefan Wehr
Hi all, I'm profiling a Haskell program and now getting that the program spents 56% of its individual time in the cost centre MAIN (note the capital letters). I searched the documentation for this cost centre, with no success. In all profiling results so far, the individual time spent in MAIN was