[commit: ghc] master: Changed profiling output is fine (according to Simon Marlow) (cdca791)

git at git.haskell.org git at git.haskell.org
Tue May 6 08:43:26 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/cdca7915edd9aecf0b6ee30c3b349de77575dc2b/ghc

>---------------------------------------------------------------

commit cdca7915edd9aecf0b6ee30c3b349de77575dc2b
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri May 2 12:10:42 2014 +0100

    Changed profiling output is fine (according to Simon Marlow)


>---------------------------------------------------------------

cdca7915edd9aecf0b6ee30c3b349de77575dc2b
 .../tests/profiling/should_run/ioprof.prof.sample  | 56 +++++++++++-----------
 1 file changed, 27 insertions(+), 29 deletions(-)

diff --git a/testsuite/tests/profiling/should_run/ioprof.prof.sample b/testsuite/tests/profiling/should_run/ioprof.prof.sample
index 0cdfa82..07257e2 100644
--- a/testsuite/tests/profiling/should_run/ioprof.prof.sample
+++ b/testsuite/tests/profiling/should_run/ioprof.prof.sample
@@ -1,39 +1,37 @@
-	Mon Nov 14 13:28 2011 Time and Allocation Profiling Report  (Final)
+	Mon Apr 28 15:29 2014 Time and Allocation Profiling Report  (Final)
 
 	   ioprof +RTS -hc -p -RTS
 
-	total time  =        0.00 secs   (0 ticks @ 20 ms)
-	total alloc =      53,288 bytes  (excludes profiling overheads)
+	total time  =        0.00 secs   (0 ticks @ 1000 us, 1 processor)
+	total alloc =      52,208 bytes  (excludes profiling overheads)
 
 COST CENTRE MODULE           %time %alloc
 
-main        Main               0.0   16.4
-errorM.\    Main               0.0    8.3
-CAF         GHC.IO.Handle.FD   0.0   65.5
+MAIN        MAIN               0.0    1.4
+CAF         GHC.IO.Encoding    0.0    6.3
 CAF         GHC.Conc.Signal    0.0    1.3
-CAF         GHC.IO.Encoding    0.0    5.9
+CAF         GHC.IO.Handle.FD   0.0   66.2
+main        Main               0.0   16.7
+errorM.\    Main               0.0    7.0
 
 
-                                                          individual     inherited
-COST CENTRE     MODULE                  no.     entries  %time %alloc   %time %alloc
+                                                            individual     inherited
+COST CENTRE       MODULE                  no.     entries  %time %alloc   %time %alloc
 
-MAIN            MAIN                     45           0    0.0    0.7     0.0  100.0
- CAF            GHC.IO.Encoding.Iconv    76           0    0.0    0.5     0.0    0.5
- CAF            GHC.Conc.Sync            74           0    0.0    0.5     0.0    0.5
- CAF            GHC.IO.Encoding          65           0    0.0    5.9     0.0    5.9
- CAF            GHC.Conc.Signal          62           0    0.0    1.3     0.0    1.3
- CAF            GHC.IO.Handle.FD         56           0    0.0   65.5     0.0   65.5
- CAF            GHC.Exception            55           0    0.0    0.2     0.0    0.2
- CAF            Main                     51           0    0.0    0.6     0.0   25.6
-  main          Main                     90           1    0.0   16.4     0.0   24.9
-   runM         Main                     93           1    0.0    0.0     0.0    8.3
-    bar         Main                     94           0    0.0    0.0     0.0    8.3
-     foo        Main                     99           0    0.0    0.0     0.0    8.3
-      errorM    Main                    100           0    0.0    0.0     0.0    8.3
-       errorM.\ Main                    101           1    0.0    8.3     0.0    8.3
-     >>=        Main                     95           0    0.0    0.0     0.0    0.0
-      >>=.\     Main                     96           1    0.0    0.0     0.0    0.0
-   bar          Main                     91           1    0.0    0.2     0.0    0.2
-    foo         Main                     97           1    0.0    0.0     0.0    0.0
-     errorM     Main                     98           1    0.0    0.0     0.0    0.0
-    >>=         Main                     92           1    0.0    0.0     0.0    0.0
+MAIN              MAIN                     44           0    0.0    1.4     0.0  100.0
+ main             Main                     89           0    0.0   16.5     0.0   16.5
+ CAF              Main                     87           0    0.0    0.0     0.0    7.4
+  main            Main                     88           1    0.0    0.2     0.0    7.4
+   runM           Main                     90           1    0.0    0.2     0.0    7.2
+    bar           Main                     91           1    0.0    0.0     0.0    7.1
+     errorM       Main                     93           1    0.0    0.0     0.0    0.0
+     >>=          Main                     92           1    0.0    0.0     0.0    7.0
+      >>=.\       Main                     94           1    0.0    0.0     0.0    7.0
+       foo        Main                     95           1    0.0    0.0     0.0    7.0
+        errorM    Main                     96           0    0.0    0.0     0.0    7.0
+         errorM.\ Main                     97           1    0.0    7.0     0.0    7.0
+ CAF              GHC.IO.Handle.FD         84           0    0.0   66.2     0.0   66.2
+ CAF              GHC.Conc.Signal          82           0    0.0    1.3     0.0    1.3
+ CAF              GHC.Conc.Sync            81           0    0.0    0.4     0.0    0.4
+ CAF              GHC.IO.Encoding          74           0    0.0    6.3     0.0    6.3
+ CAF              GHC.IO.Encoding.Iconv    56           0    0.0    0.4     0.0    0.4



More information about the ghc-commits mailing list