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 <stefan.w...@gmail.com> [19.09.2010 14:11]:
> 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

Attachment: pgp6T8EHf9vtX.pgp
Description: PGP signature

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to