Show sources of cost centers in .prof
[ghc.git] / testsuite / tests / profiling / should_run / scc001.prof.sample
1         Sat Jun  4 11:59 2016 Time and Allocation Profiling Report  (Final)
2
3            scc001 +RTS -hc -p -RTS
4
5         total time  =        0.00 secs   (0 ticks @ 1000 us, 1 processor)
6         total alloc =      50,888 bytes  (excludes profiling overheads)
7
8 COST CENTRE MODULE           SRC                     %time %alloc
9
10 MAIN        MAIN             <built-in>                0.0    1.7
11 CAF         GHC.IO.Encoding  <entire-module>           0.0    5.4
12 CAF         GHC.Conc.Signal  <entire-module>           0.0    1.3
13 CAF         GHC.IO.Handle.FD <entire-module>           0.0   67.8
14 main        Main             scc001.hs:(5,1)-(7,23)    0.0   22.5
15
16
17                                                                             individual      inherited
18 COST CENTRE MODULE                SRC                    no.     entries  %time %alloc   %time %alloc
19
20 MAIN        MAIN                  <built-in>              46          0    0.0    1.7     0.0  100.0
21  CAF        Main                  <entire-module>         91          0    0.0    0.1     0.0    0.1
22   (...)     Main                  scc001.hs:16:1-16       97          1    0.0    0.0     0.0    0.0
23   h         Main                  scc001.hs:16:1-16       96          1    0.0    0.0     0.0    0.0
24   main      Main                  scc001.hs:(5,1)-(7,23)  92          1    0.0    0.0     0.0    0.0
25  CAF        GHC.Show              <entire-module>         88          0    0.0    0.6     0.0    0.6
26  CAF        GHC.IO.Handle.FD      <entire-module>         85          0    0.0   67.8     0.0   67.8
27  CAF        GHC.IO.Handle.Text    <entire-module>         84          0    0.0    0.2     0.0    0.2
28  CAF        GHC.Conc.Signal       <entire-module>         82          0    0.0    1.3     0.0    1.3
29  CAF        GHC.IO.Encoding       <entire-module>         79          0    0.0    5.4     0.0    5.4
30  CAF        GHC.IO.Encoding.Iconv <entire-module>         65          0    0.0    0.5     0.0    0.5
31  main       Main                  scc001.hs:(5,1)-(7,23)  93          0    0.0   22.5     0.0   22.5
32   f         Main                  scc001.hs:10:1-7        94          1    0.0    0.0     0.0    0.0
33   g         Main                  scc001.hs:13:1-7        95          1    0.0    0.0     0.0    0.0