Show sources of cost centers in .prof
[ghc.git] / testsuite / tests / profiling / should_run / profinline001.prof.sample
1         Fri Jun  3 10:46 2016 Time and Allocation Profiling Report  (Final)
2
3            profinline001 +RTS -p -RTS
4
5         total time  =        0.00 secs   (0 ticks @ 1000 us, 1 processor)
6         total alloc =      49,392 bytes  (excludes profiling overheads)
7
8 COST CENTRE MODULE           SRC                      %time %alloc
9
10 CAF         GHC.IO.Handle.FD <entire-module>            0.0   69.9
11 CAF         GHC.IO.Encoding  <entire-module>            0.0    5.6
12 CAF         GHC.Conc.Signal  <entire-module>            0.0    1.3
13 main        Main             profinline001.hs:3:1-19    0.0   20.8
14
15
16                                                                              individual      inherited
17 COST CENTRE MODULE                SRC                     no.     entries  %time %alloc   %time %alloc
18
19 MAIN        MAIN                  <built-in>               44          0    0.0    0.7     0.0  100.0
20  CAF        Main                  <entire-module>          87          0    0.0    0.7     0.0   21.8
21   main      Main                  profinline001.hs:3:1-19  88          1    0.0   20.8     0.0   21.1
22    f        Main                  profinline001.hs:6:1-21  89          1    0.0    0.3     0.0    0.4
23     g       Main                  profinline001.hs:8:1-11  90          1    0.0    0.0     0.0    0.0
24  CAF        GHC.Conc.Signal       <entire-module>          79          0    0.0    1.3     0.0    1.3
25  CAF        GHC.IO.Encoding       <entire-module>          76          0    0.0    5.6     0.0    5.6
26  CAF        GHC.IO.Handle.FD      <entire-module>          74          0    0.0   69.9     0.0   69.9
27  CAF        GHC.IO.Handle.Text    <entire-module>          72          0    0.0    0.2     0.0    0.2
28  CAF        GHC.IO.Encoding.Iconv <entire-module>          55          0    0.0    0.5     0.0    0.5