Show sources of cost centers in .prof
[ghc.git] / testsuite / tests / profiling / should_run / T2552.prof.sample
index 3eea44a..7ed927f 100644 (file)
@@ -1,37 +1,36 @@
-       Wed Jan 27 08:12 2016 Time and Allocation Profiling Report  (Final)
+       Sat Jun  4 11:59 2016 Time and Allocation Profiling Report  (Final)
 
           T2552 +RTS -hc -p -RTS
 
-       total time  =        0.01 secs   (5 ticks @ 1000 us, 1 processor)
-       total alloc = 123,466,024 bytes  (excludes profiling overheads)
+       total time  =        0.09 secs   (90 ticks @ 1000 us, 1 processor)
+       total alloc = 123,465,848 bytes  (excludes profiling overheads)
 
-COST CENTRE     MODULE  %time %alloc
+COST CENTRE     MODULE SRC               %time %alloc
 
-fib1.fib1'.nfib Main     80.0   33.3
-MAIN            MAIN     20.0    0.0
-fib2'.nfib      Main      0.0   33.3
-fib3'.nfib      Main      0.0   33.3
+fib1.fib1'.nfib Main   T2552.hs:5:9-61    37.8   33.3
+fib2'.nfib      Main   T2552.hs:10:5-57   31.1   33.3
+fib3'.nfib      Main   T2552.hs:15:5-57   31.1   33.3
 
 
-                                                               individual      inherited
-COST CENTRE           MODULE                no.     entries  %time %alloc   %time %alloc
+                                                                                       individual      inherited
+COST CENTRE           MODULE                SRC                     no.     entries  %time %alloc   %time %alloc
 
-MAIN                  MAIN                  105           0   20.0    0.0   100.0  100.0
main                 Main                  211           0    0.0    0.0     0.0    0.0
CAF                  Main                  209           0    0.0    0.0    80.0  100.0
-  main                Main                  210           1    0.0    0.0    80.0  100.0
-   fib3'              Main                  220           1    0.0    0.0     0.0   33.3
-    fib3'.nfib        Main                  221     1028457    0.0   33.3     0.0   33.3
-   fib3               Main                  219           1    0.0    0.0     0.0    0.0
-   fib2               Main                  216           1    0.0    0.0     0.0   33.3
-    fib2'             Main                  217           1    0.0    0.0     0.0   33.3
-     fib2'.nfib       Main                  218     1028457    0.0   33.3     0.0   33.3
-   fib1               Main                  212           1    0.0    0.0    80.0   33.3
-    fib1.fib1'        Main                  213           1    0.0    0.0    80.0   33.3
-     nfib'            Main                  214           1    0.0    0.0    80.0   33.3
-      fib1.fib1'.nfib Main                  215     1028457   80.0   33.3    80.0   33.3
- CAF                  GHC.Conc.Signal       203           0    0.0    0.0     0.0    0.0
- CAF                  GHC.IO.Encoding       193           0    0.0    0.0     0.0    0.0
- CAF                  GHC.IO.Encoding.Iconv 191           0    0.0    0.0     0.0    0.0
- CAF                  GHC.IO.Handle.FD      183           0    0.0    0.0     0.0    0.0
CAF                  GHC.IO.Handle.Text    181           0    0.0    0.0     0.0    0.0
+MAIN                  MAIN                  <built-in>               45          0    0.0    0.0   100.0  100.0
CAF                  Main                  <entire-module>          89          0    0.0    0.0   100.0  100.0
 main                Main                  T2552.hs:(17,1)-(20,17)  90          1    0.0    0.0   100.0  100.0
+   fib1               Main                  T2552.hs:(1,1)-(5,61)    92          1    0.0    0.0    37.8   33.3
+    fib1.fib1'        Main                  T2552.hs:(3,5)-(5,61)    93          1    0.0    0.0    37.8   33.3
+     nfib'            Main                  T2552.hs:3:35-40         94          1    0.0    0.0    37.8   33.3
+      fib1.fib1'.nfib Main                  T2552.hs:5:9-61          95    1028457   37.8   33.3    37.8   33.3
+   fib2               Main                  T2552.hs:7:1-16          96          1    0.0    0.0    31.1   33.3
+    fib2'             Main                  T2552.hs:(8,1)-(10,57)   97          1    0.0    0.0    31.1   33.3
+     fib2'.nfib       Main                  T2552.hs:10:5-57         98    1028457   31.1   33.3    31.1   33.3
+   fib3               Main                  T2552.hs:12:1-12         99          1    0.0    0.0     0.0    0.0
+   fib3'              Main                  T2552.hs:(13,1)-(15,57) 100          1    0.0    0.0    31.1   33.3
+    fib3'.nfib        Main                  T2552.hs:15:5-57        101    1028457   31.1   33.3    31.1   33.3
+ CAF                  GHC.IO.Handle.FD      <entire-module>          84          0    0.0    0.0     0.0    0.0
+ CAF                  GHC.IO.Handle.Text    <entire-module>          83          0    0.0    0.0     0.0    0.0
+ CAF                  GHC.Conc.Signal       <entire-module>          81          0    0.0    0.0     0.0    0.0
+ CAF                  GHC.IO.Encoding       <entire-module>          78          0    0.0    0.0     0.0    0.0
+ CAF                  GHC.IO.Encoding.Iconv <entire-module>          64          0    0.0    0.0     0.0    0.0
main                 Main                  T2552.hs:(17,1)-(20,17)  91          0    0.0    0.0     0.0    0.0