Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : ghc-7.4

http://hackage.haskell.org/trac/ghc/changeset/3fb1b0351dee07d7ab0f062fbc39c6762c368fa8

>---------------------------------------------------------------

commit 3fb1b0351dee07d7ab0f062fbc39c6762c368fa8
Author: Edward Z. Yang <[email protected]>
Date:   Fri Dec 16 14:50:40 2011 -0500

    Document that -T RTS flag is necessary.
    
    Signed-off-by: Edward Z. Yang <[email protected]>

>---------------------------------------------------------------

 GHC/Stats.hsc |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/GHC/Stats.hsc b/GHC/Stats.hsc
index 92b33e2..9be4331 100644
--- a/GHC/Stats.hsc
+++ b/GHC/Stats.hsc
@@ -4,6 +4,14 @@
 {-# LANGUAGE RecordWildCards #-}
 {-# OPTIONS_GHC -funbox-strict-fields #-}
 
+-----------------------------------------------------------------------------
+-- | This module provides access to internal garbage collection and
+-- memory usage statistics.  These statistics are not available unless
+-- a program is run with the @-T@ RTS flag.
+--
+-- This module is GHC-only and should not be considered portable.
+--
+-----------------------------------------------------------------------------
 module GHC.Stats
     ( GCStats(..)
     , getGCStats



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to