summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Ivanov <ethercrow@gmail.com>2017-09-12 09:18:16 +0200
committerBen Gamari <ben@smart-cactus.org>2017-09-13 11:35:32 -0400
commit8ff11c4e5ae475cf9bb7de4ce5271b4e62cbdeab (patch)
treed6fd80473ed042752c882853d2b12bcffa9cbd7d
parentcbd491170818070aeb7edd8c547a2f0bfa891bf1 (diff)
downloadhaskell-8ff11c4e5ae475cf9bb7de4ce5271b4e62cbdeab.tar.gz
Fix @since annotations in GHC.Stats
-rw-r--r--libraries/base/GHC/Stats.hsc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/base/GHC/Stats.hsc b/libraries/base/GHC/Stats.hsc
index 58fb12592f..35925c90ea 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