[project @ 1999-09-15 13:45:14 by simonmar]
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.
Showing
- ghc/includes/Profiling.h 6 additions, 1 deletionghc/includes/Profiling.h
- ghc/includes/StgProf.h 7 additions, 4 deletionsghc/includes/StgProf.h
- ghc/rts/DebugProf.c 1 addition, 225 deletionsghc/rts/DebugProf.c
- ghc/rts/DebugProf.h 1 addition, 3 deletionsghc/rts/DebugProf.h
- ghc/rts/GC.c 3 additions, 2 deletionsghc/rts/GC.c
- ghc/rts/PrimOps.hc 2 additions, 2 deletionsghc/rts/PrimOps.hc
- ghc/rts/ProfRts.h 1 addition, 3 deletionsghc/rts/ProfRts.h
- ghc/rts/Profiling.c 135 additions, 36 deletionsghc/rts/Profiling.c
- ghc/rts/RtsFlags.c 3 additions, 3 deletionsghc/rts/RtsFlags.c
- ghc/rts/RtsFlags.h 2 additions, 2 deletionsghc/rts/RtsFlags.h
- ghc/rts/RtsStartup.c 2 additions, 3 deletionsghc/rts/RtsStartup.c
- ghc/rts/Stats.c 20 additions, 2 deletionsghc/rts/Stats.c
- ghc/rts/Stats.h 3 additions, 1 deletionghc/rts/Stats.h
- ghc/rts/Storage.c 14 additions, 1 deletionghc/rts/Storage.c
Loading
Please register or sign in to comment