#5846: Add GHC.Stats.gcStatsEnabled
--------------------------------+-------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone: 7.6.1
Component: libraries (other) | Version: 7.4.1
Resolution: fixed | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
--------------------------------+-------------------------------------------
Changes (by pcapriotti):
* status: patch => closed
* resolution: => fixed
Comment:
Thanks. Pushed:
{{{
commit 05cf0016f23c9b1f6d4ef0f820c0fd8f56ff02c1
Author: Paolo Capriotti <[email protected]>
Date: Fri Jun 15 17:13:16 2012 +0100
Add GHC.Stats.getGCStatsEnabled function (#5846)
Add getGCStatsEnabled function which checks whether GC stats have been
enabled (with `-T`, for example).
Make getGCStats throw an exception if called with GC stats disabled.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5846#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs