Cost Centre MAIN
Christian Höner zu Siederdissen
choener at tbi.univie.ac.at
Sun Sep 19 13:34:52 EDT 2010
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.wehr at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100919/e065400d/attachment.bin
More information about the Glasgow-haskell-users
mailing list