[commit: base] ghc-7.4: Document that -T RTS flag is necessary. (3fb1b03)
Ian Lynagh
igloo at earth.li
Mon Dec 19 13:39:44 CET 2011
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 <ezyang at mit.edu>
Date: Fri Dec 16 14:50:40 2011 -0500
Document that -T RTS flag is necessary.
Signed-off-by: Edward Z. Yang <ezyang at mit.edu>
>---------------------------------------------------------------
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
More information about the Cvs-libraries
mailing list