summaryrefslogtreecommitdiff
path: root/ghc/includes/Profiling.h
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 2000-04-03 15:56:51 by simonmar]simonmar2000-04-031-149/+0
| | | | remove this file, its contents have been moved into StgProf.h
* [project @ 2000-03-13 10:21:26 by simonmar]simonmar2000-03-131-14/+1
| | | | remove unused gunk.
* [project @ 2000-03-08 17:48:24 by simonmar]simonmar2000-03-081-3/+1
| | | | | | | | | | | | | | | - generalise the per-module initialisation stubs so that we use it in normal (non-profiled) code too. The initialisation stubs are now called '__init_<module>' rather than '_reg<module>'. - Register foreign exported functions as stable pointers in the initialisation code for the module. This fixes the foreign export problems reported by several people. - remove the concept of "module groups" from the profiling subsystem. - change the profiling semantics slightly; it should be unnecessary to use '-caf-all' to get reasonable profiles now.
* [project @ 2000-02-29 16:58:08 by simonmar]simonmar2000-02-291-16/+2
| | | | | | | | | | | Change the behaviour of the cost-centre stack profiler for recursive sccs. Before, we used to remove the old copy of the CC from the stack and push the new one on. Now, we record back-edges in the graph when a recursive scc is detected. This should give saner-looking cost-centre stacks for heavily recursive code. Indeed, it reduces the number of stacks in the profile for some examples considerably.
* [project @ 1999-09-15 13:45:14 by simonmar]simonmar1999-09-151-1/+6
| | | | | | | | | | | | | | | | | | Heap Profiling -------------- This commit adds simple hp2ps-style heap profiling. Just the '-h' option is supported so far. Heap profiles will show the top two cost centres on each cost centre stack. Time/Alloc profiles have been extended to aggregate the costs on a per-cost-centre basis and show the table of highest consuming cost centres before the full table of cost centre stacks. Profiles work best if '-caf-all' is used, especially when using one of the '-auto' flags.
* [project @ 1999-04-23 09:47:30 by simonm]simonm1999-04-231-2/+5
| | | | | More profiling fixes. Profiles looking more reasonable, but for best results add the -caf-all switch to GHC.
* [project @ 1999-03-25 13:13:51 by simonm]simonm1999-03-251-4/+3
| | | | | | | | | | | Profiling fixes. - top-level CAF CCSs now *append* themselves to the current CCS when called. - remove DICT stuff. - fixes to the auto-scc annotating in the desugarer.
* [project @ 1999-02-05 16:02:18 by simonm]simonm1999-02-051-1/+4
| | | | Copyright police.
* [project @ 1998-12-02 13:17:09 by simonm]simonm1998-12-021-0/+168
Move 4.01 onto the main trunk.