summaryrefslogtreecommitdiff
path: root/includes/RtsFlags.h
Commit message (Collapse)AuthorAgeFilesLines
* +RTS -xbXXXXX sets the "heap base" to 0xXXXXXXSimon Marlow2007-06-271-0/+2
| | | | | | | | | | When debugging the GC and storage manager we often want repeated runs of the program to allocate memory at the same addresses, so that we can set watch points. Unfortunately the OS doesn't always give us memory at predictable addresses. This flag gives the OS a hint as to where we would like our memory allocated. Previously I did this by changing the HEAP_BASE setting in MBlock.h and recompiling, this patch just adds a flag so I don't have to recompile.
* Basic heap profile support without -profSimon Marlow2007-04-271-2/+1
| | | | | | | | | | | | | | Now that constructor info tables contain the name of the constructor, we can generate useful heap profiles without requiring the whole program and libraries to be compiled with -prof. So now, "+RTS -hT" generates a heap profile for any program, dividing the profile by constructor. It wouldn't be hard to add support for grouping constructors by module, or to restrict the profile to certain constructors/modules/packages. This means that for the first time we can get heap profiles for GHCi, which was previously impossible because the byte-code interpreter and linker don't work with -prof.
* Add an --install-signal-handlers=<yes|no> RTS flag; fixes trac #804Ian Lynagh2007-03-221-0/+1
|
* Using RTS debug tracing support inside Hpc.candy@galois.com2007-02-131-0/+1
|
* One more PAPI measurement, dropped precise cycle counting and replaced it ↵Alexey Rodriguez2006-12-211-0/+1
| | | | with instructions.
* Selection of PAPI events via RTS command linemrchebas@gmail.com2006-11-091-0/+15
|
* rts_ccs_lengthRavi Nanavati2006-09-291-0/+2
| | | | | | | | Add the -L RTS flag to control the length of the cost-centre stacks reported in a heap profile. Please include this change in the 6.6 branch as well as HEAD
* new RTS flag: -V to modify the resolution of the RTS timerIan Lynagh2006-09-051-1/+6
| | | | | | | | | Fixed version of an old patch by Simon Marlow. His description read: Also, now an arbitrarily short context switch interval may now be specified, as we increase the RTS ticker's resolution to match the requested context switch interval. This also applies to +RTS -i (heap profiling) and +RTS -I (the idle GC timer). +RTS -V is actually only required for increasing the resolution of the profile timer.
* Add new RTS flags for tracing:Simon Marlow2006-06-081-0/+5
| | | | | | | | | -vs Trace scheduler events (see also -Ds with -debug) -vt Time-stamp trace messages the intention is that we will pipe the -vs output into a profile-generating tool. This commit includes the flags only, functionality to follow.
* codegen debug flag (+RTS -Dc) was unused; remove itSimon Marlow2006-06-071-1/+0
|
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+357
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.