> I would be entirely happy if I had to compile my
> program for profiling. BTW: Is there a way to do this
> with profiling as it is at the moment?

Sure - just compile your program with -prof, and either use -auto-all or
alternatively put _scc_ annotations on just the functions you're interested
in.  The profile produced by running the program with +RTS -p includes an
"entries" count for each cost centre, which should be what you're after.

Cheers,
        Simon

Reply via email to