cvs commit: fptools configure.in fptools/mk config.mk.in
fptools/ghc/rts FrontPanel.c FrontPanel.h VisCallbacks.c
VisCallbacks.h VisSupport.c VisSupport.h VisWindow.c VisWindow.h
GC.c Makefile RtsFlags.c RtsFlags.h RtsStartup.c Storage.c ...
Wed, 1 Nov 2000 03:41:47 -0800
simonmar 2000/11/01 03:41:47 PST
Modified files: (Branch: before-ghci-branch)
ghc/rts GC.c Makefile RtsFlags.c RtsFlags.h
RtsStartup.c Storage.c StoragePriv.h
ghc/rts FrontPanel.c FrontPanel.h VisCallbacks.c
VisCallbacks.h VisSupport.c VisSupport.h
Add a basic "front panel" for GHC-compiled programs.
How to use it:
- re-autoconf & configure to detect GTK+
- add "GhcRtsWithFrontPanel = YES" to mk/build.mk
- rebuild the RTS
- compile up a program, add `gtk-config --libs` to the
link command line
- run with program with +RTS -f,
- sit back & watch the show :-) Programs with lots of
heap-resident data are the most interesting. For extra
kicks, turn up the number of generations & steps like so:
+RTS -f -G5 -T3.
- Bootstrap your compiler, and see in glorious technicolor
just how much of a lumbering beast GHC really is.
This is a work in progress. There's lots more stuff we could display
on the panel: suggestions/comments are of course welcome. The window
layout was designed with GLADE, I'll commit the config file shortly.
I haven't quite figured out how we're going to integrate this with the
release yet (ie. whether we'll distribute two separate RTS's or what).
Revision Changes Path
220.127.116.11 +24 -0 fptools/configure.in
18.104.22.168 +10 -1 fptools/mk/config.mk.in
1.86 +19 -3 fptools/ghc/rts/GC.c
1.38 +19 -1 fptools/ghc/rts/Makefile
1.33 +14 -3 fptools/ghc/rts/RtsFlags.c
1.28 +5 -1 fptools/ghc/rts/RtsFlags.h
1.44 +17 -1 fptools/ghc/rts/RtsStartup.c
1.27 +5 -2 fptools/ghc/rts/Storage.c
1.11 +3 -1 fptools/ghc/rts/StoragePriv.h