From 0a778ebeccefe6c3c2540a06d5a1c585f18e01ab Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 20 Mar 2018 12:17:43 -0400 Subject: Revert "rts, base: Refactor stats.c to improve --machine-readable report" This reverts commit 2d4bda2e4ac68816baba0afab00da6f769ea75a7. --- libraries/base/GHC/Stats.hsc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libraries/base') 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 -- cgit v1.2.1