[project @ 1999-10-13 16:39:10 by simonmar]
Crude allocation-counting extension to ticky-ticky profiling. Allocations are counted against the closest lexically enclosing function closure, so you need to map the output back to the STG code.
Showing
- ghc/compiler/absCSyn/AbsCUtils.lhs 6 additions, 1 deletionghc/compiler/absCSyn/AbsCUtils.lhs
- ghc/compiler/absCSyn/CLabel.lhs 7 additions, 1 deletionghc/compiler/absCSyn/CLabel.lhs
- ghc/compiler/absCSyn/PprAbsC.lhs 5 additions, 1 deletionghc/compiler/absCSyn/PprAbsC.lhs
- ghc/compiler/codeGen/CgBindery.lhs 2 additions, 2 deletionsghc/compiler/codeGen/CgBindery.lhs
- ghc/compiler/codeGen/CgCase.lhs 8 additions, 3 deletionsghc/compiler/codeGen/CgCase.lhs
- ghc/compiler/codeGen/CgClosure.lhs 26 additions, 15 deletionsghc/compiler/codeGen/CgClosure.lhs
- ghc/compiler/codeGen/CgHeapery.lhs 35 additions, 12 deletionsghc/compiler/codeGen/CgHeapery.lhs
- ghc/compiler/codeGen/CgMonad.lhs 37 additions, 16 deletionsghc/compiler/codeGen/CgMonad.lhs
- ghc/compiler/utils/Outputable.lhs 4 additions, 1 deletionghc/compiler/utils/Outputable.lhs
- ghc/driver/ghc-asm.lprl 5 additions, 0 deletionsghc/driver/ghc-asm.lprl
- ghc/includes/StgMacros.h 13 additions, 15 deletionsghc/includes/StgMacros.h
- ghc/includes/StgTicky.h 31 additions, 17 deletionsghc/includes/StgTicky.h
- ghc/rts/PrimOps.hc 12 additions, 12 deletionsghc/rts/PrimOps.hc
- ghc/rts/Storage.c 2 additions, 2 deletionsghc/rts/Storage.c
- ghc/rts/Ticky.c 21 additions, 8 deletionsghc/rts/Ticky.c
Loading
Please register or sign in to comment