
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
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 always 0%.
Any hints?
-- Stefan _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (1)
-
Christian Höner zu Siederdissen