Show sources of cost centers in .prof
[ghc.git] / testsuite / tests / profiling / should_run / T680.prof.sample
index 6b2d037..d14bad9 100644 (file)
@@ -1,37 +1,42 @@
-       Thu Apr  2 19:44 2015 Time and Allocation Profiling Report  (Final)
+       Sat Jun  4 11:59 2016 Time and Allocation Profiling Report  (Final)
 
-          T680 +RTS -p -RTS
+          T680 +RTS -hc -p -RTS
 
-       total time  =        0.20 secs   (203 ticks @ 1000 us, 1 processor)
-       total alloc = 449,665,336 bytes  (excludes profiling overheads)
+       total time  =        0.00 secs   (0 ticks @ 1000 us, 1 processor)
+       total alloc =     752,952 bytes  (excludes profiling overheads)
 
-COST CENTRE MODULE  %time %alloc
+COST CENTRE MODULE           SRC                    %time %alloc
 
-foo.\       Main    100.0   99.8
+CAF         GHC.IO.Handle.FD <entire-module>          0.0    4.6
+main        Main             T680.hs:20:1-14          0.0    1.2
+foo.\       Main             T680.hs:3:12-40          0.0   25.5
+foo.bar     Main             T680.hs:(5,3)-(9,38)     0.0   29.8
+foo.bar.\   Main             T680.hs:(8,11)-(9,38)    0.0   38.2
 
 
-                                                              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                  103           0    0.0    0.0   100.0  100.0
- CAF                 Main                  205           0    0.0    0.0   100.0  100.0
-  k                  Main                  208           1    0.0    0.0     0.0    0.0
-   foo               Main                  209           1    0.0    0.0     0.0    0.0
-    foo.bar          Main                  213           1    0.0    0.0     0.0    0.0
-     foo.bar.k'      Main                  217           1    0.0    0.0     0.0    0.0
-      k.\            Main                  218           1    0.0    0.0     0.0    0.0
-  r                  Main                  207           1    0.0    0.0   100.0  100.0
-   k                 Main                  210           0    0.0    0.0   100.0  100.0
-    foo              Main                  211           0    0.0    0.0   100.0  100.0
-     foo.bar         Main                  214           0    0.0    0.0     0.0    0.1
-      foo.bar.k'     Main                  219           0    0.0    0.0     0.0    0.0
-      foo.bar.\      Main                  215        4001    0.0    0.1     0.0    0.1
-       foo.bar.\.k'' Main                  216        4000    0.0    0.0     0.0    0.0
-     foo.\           Main                  212        4001  100.0   99.8   100.0   99.8
-  main               Main                  206           1    0.0    0.0     0.0    0.0
- CAF                 GHC.Conc.Signal       184           0    0.0    0.0     0.0    0.0
- CAF                 GHC.IO.Encoding       167           0    0.0    0.0     0.0    0.0
- CAF                 GHC.IO.Encoding.Iconv 165           0    0.0    0.0     0.0    0.0
- CAF                 GHC.IO.Handle.FD      156           0    0.0    0.0     0.0    0.0
- CAF                 GHC.IO.Handle.Text    154           0    0.0    0.0     0.0    0.0
- CAF                 GHC.Show              141           0    0.0    0.0     0.0    0.0
+MAIN                 MAIN                  <built-in>             46          0    0.0    0.1     0.0  100.0
+ CAF                 Main                  <entire-module>        91          0    0.0    0.0     0.0   93.6
+  k                  Main                  T680.hs:12:1-17        95          1    0.0    0.0     0.0    0.0
+   foo               Main                  T680.hs:(2,1)-(9,38)   96          1    0.0    0.0     0.0    0.0
+    foo.bar          Main                  T680.hs:(5,3)-(9,38)  100          1    0.0    0.0     0.0    0.0
+     foo.bar.k'      Main                  T680.hs:6:9-34        104          1    0.0    0.0     0.0    0.0
+      k.\            Main                  T680.hs:12:16         105          1    0.0    0.0     0.0    0.0
+  main               Main                  T680.hs:20:1-14        92          1    0.0    0.0     0.0    0.0
+  r                  Main                  T680.hs:18:1-26        94          1    0.0    0.0     0.0   93.5
+   k                 Main                  T680.hs:12:1-17        97          0    0.0    0.0     0.0   93.5
+    foo              Main                  T680.hs:(2,1)-(9,38)   98          0    0.0    0.0     0.0   93.5
+     foo.\           Main                  T680.hs:3:12-40        99       4001    0.0   25.5     0.0   25.5
+     foo.bar         Main                  T680.hs:(5,3)-(9,38)  101          0    0.0   29.8     0.0   68.0
+      foo.bar.\      Main                  T680.hs:(8,11)-(9,38) 102       4001    0.0   38.2     0.0   38.2
+       foo.bar.\.k'' Main                  T680.hs:8:15-27       103       4000    0.0    0.0     0.0    0.0
+      foo.bar.k'     Main                  T680.hs:6:9-34        106          0    0.0    0.0     0.0    0.0
+ CAF                 GHC.IO.Handle.FD      <entire-module>        84          0    0.0    4.6     0.0    4.6
+ CAF                 GHC.IO.Handle.Text    <entire-module>        83          0    0.0    0.0     0.0    0.0
+ CAF                 GHC.Conc.Signal       <entire-module>        80          0    0.0    0.1     0.0    0.1
+ CAF                 GHC.IO.Encoding       <entire-module>        78          0    0.0    0.4     0.0    0.4
+ CAF                 GHC.Show              <entire-module>        76          0    0.0    0.0     0.0    0.0
+ CAF                 GHC.IO.Encoding.Iconv <entire-module>        62          0    0.0    0.0     0.0    0.0
+ main                Main                  T680.hs:20:1-14        93          0    0.0    1.2     0.0    1.2