[commit: ghc] master: Fix @since annotations in GHC.Stats (8ff11c4)
git at git.haskell.org
git at git.haskell.org
Wed Sep 13 15:35:48 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8ff11c4e5ae475cf9bb7de4ce5271b4e62cbdeab/ghc
>---------------------------------------------------------------
commit 8ff11c4e5ae475cf9bb7de4ce5271b4e62cbdeab
Author: Dmitry Ivanov <ethercrow at gmail.com>
Date: Tue Sep 12 09:18:16 2017 +0200
Fix @since annotations in GHC.Stats
>---------------------------------------------------------------
8ff11c4e5ae475cf9bb7de4ce5271b4e62cbdeab
libraries/base/GHC/Stats.hsc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libraries/base/GHC/Stats.hsc b/libraries/base/GHC/Stats.hsc
index 58fb125..35925c9 100644
--- a/libraries/base/GHC/Stats.hsc
+++ b/libraries/base/GHC/Stats.hsc
@@ -45,14 +45,14 @@ foreign import ccall "getRTSStats" getRTSStats_ :: Ptr () -> IO ()
-- | Returns whether GC stats have been enabled (with @+RTS -T@, for example).
--
--- @since 4.9.0.0
+-- @since 4.10.0.0
foreign import ccall "getRTSStatsEnabled" getRTSStatsEnabled :: IO Bool
--
-- | Statistics about runtime activity since the start of the
-- program. This is a mirror of the C @struct RTSStats@ in @RtsAPI.h@
--
--- @since 4.9.0.0
+-- @since 4.10.0.0
--
data RTSStats = RTSStats {
-- -----------------------------------
@@ -148,7 +148,7 @@ data GCDetails = GCDetails {
-- | Time values from the RTS, using a fixed resolution of nanoseconds.
type RtsTime = Int64
--- @since 4.9.0.0
+-- @since 4.10.0.0
--
getRTSStats :: IO RTSStats
getRTSStats = do
More information about the ghc-commits
mailing list