From 38f17b8f60ac6f1485a70f5c1cad70de16f4f1a6 Mon Sep 17 00:00:00 2001 From: krasimir Date: Sun, 15 Feb 2004 13:38:18 +0000 Subject: [PATCH] [project @ 2004-02-15 13:38:18 by krasimir] Remove unused hooks --- ghc/docs/users_guide/runtime_control.sgml | 53 +++++------------------------ 1 file changed, 8 insertions(+), 45 deletions(-) diff --git a/ghc/docs/users_guide/runtime_control.sgml b/ghc/docs/users_guide/runtime_control.sgml index 8d7c895..1a66a88 100644 --- a/ghc/docs/users_guide/runtime_control.sgml +++ b/ghc/docs/users_guide/runtime_control.sgml @@ -53,10 +53,10 @@ (which vary, depending on how you compiled). NOTE: since GHC is itself compiled by GHC, you can change RTS - options in the compiler using the normal - +RTS ... -RTS + options in the compiler using the normal + +RTS ... -RTS combination. eg. to increase the maximum heap - size for a compilation to 128M, you would add + size for a compilation to 128M, you would add +RTS -M128m -RTS to the command line. @@ -106,7 +106,7 @@ used by the garbage collector. The allocation area (actually generation 0 step 0) is fixed and is never resized (unless you use , below). - + Increasing the allocation area size may or may not give better performance (a bigger allocation area means worse cache behaviour but fewer garbage collections and less @@ -213,7 +213,7 @@ use the option, see below). - + size RTS option @@ -235,7 +235,7 @@ size. - + size RTS option @@ -463,9 +463,9 @@ - + - + “Hooks” to change RTS behaviour @@ -509,15 +509,6 @@ char *ghc_rts_opts = "-H128m -K1m"; - void ErrorHdrHook (FILE *) - ErrorHdrHook - - What's printed out before the message from - error. - - - - void OutOfHeapHook (unsigned long, unsigned long) OutOfHeapHook @@ -541,34 +532,6 @@ char *ghc_rts_opts = "-H128m -K1m"; fails. - - - void PatErrorHdrHook (FILE *) - PatErrorHdrHook - - The message printed if a pattern-match fails (the - failures that were not handled by the Haskell - programmer). - - - - - void PreTraceHook (FILE *) - PreTraceHook - - What's printed out before a trace - message. - - - - - void PostTraceHook (FILE *) - PostTraceHook - - What's printed out after a trace - message. - - For examples of the use of these hooks, see GHC's own -- 1.7.10.4