summaryrefslogtreecommitdiff
path: root/libraries/base/GHC
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-03-20 12:17:43 -0400
committerBen Gamari <ben@smart-cactus.org>2018-03-20 12:18:17 -0400
commit0a778ebeccefe6c3c2540a06d5a1c585f18e01ab (patch)
tree18d125a173019985b5827e9ed6f5ab6845cad0af /libraries/base/GHC
parent57001d93da7b50a58e67a712bd4d4cee1d004b6a (diff)
downloadhaskell-0a778ebeccefe6c3c2540a06d5a1c585f18e01ab.tar.gz
Revert "rts, base: Refactor stats.c to improve --machine-readable report"
This reverts commit 2d4bda2e4ac68816baba0afab00da6f769ea75a7.
Diffstat (limited to 'libraries/base/GHC')
-rw-r--r--libraries/base/GHC/Stats.hsc8
1 files changed, 0 insertions, 8 deletions
diff --git a/libraries/base/GHC/Stats.hsc b/libraries/base/GHC/Stats.hsc
index d81173fe58..3497ff5185 100644
--- a/libraries/base/GHC/Stats.hsc
+++ b/libraries/base/GHC/Stats.hsc
@@ -83,12 +83,6 @@ data RTSStats = RTSStats {
-- (we use signed values here because due to inaccuracies in timers
-- the values can occasionally go slightly negative)
- -- | Total CPU time used by the init phase
- -- @since 4.12.0.0
- , init_cpu_ns :: RtsTime
- -- | Total elapsed time used by the init phase
- -- @since 4.12.0.0
- , init_elapsed_ns :: RtsTime
-- | Total CPU time used by the mutator
, mutator_cpu_ns :: RtsTime
-- | Total elapsed time used by the mutator
@@ -181,8 +175,6 @@ getRTSStats = do
(# peek RTSStats, cumulative_par_max_copied_bytes) p
cumulative_par_balanced_copied_bytes <-
(# peek RTSStats, cumulative_par_balanced_copied_bytes) p
- init_cpu_ns <- (# peek RTSStats, init_cpu_ns) p
- init_elapsed_ns <- (# peek RTSStats, init_elapsed_ns) p
mutator_cpu_ns <- (# peek RTSStats, mutator_cpu_ns) p
mutator_elapsed_ns <- (# peek RTSStats, mutator_elapsed_ns) p
gc_cpu_ns <- (# peek RTSStats, gc_cpu_ns) p