Show sources of cost centers in .prof
[ghc.git] / testsuite / tests / profiling / should_run / scc005.prof.sample
1         Fri Jun  3 10:59 2016 Time and Allocation Profiling Report  (Final)
2
3            scc005 +RTS -p -RTS
4
5         total time  =        0.00 secs   (0 ticks @ 1000 us, 1 processor)
6         total alloc =      39,008 bytes  (excludes profiling overheads)
7
8 COST CENTRE MODULE           SRC              %time %alloc
9
10 CAF         GHC.IO.Handle.FD <entire-module>    0.0   88.5
11 CAF         GHC.IO.Encoding  <entire-module>    0.0    7.1
12 CAF         GHC.Conc.Signal  <entire-module>    0.0    1.7
13
14
15                                                                        individual      inherited
16 COST CENTRE MODULE                SRC               no.     entries  %time %alloc   %time %alloc
17
18 MAIN        MAIN                  <built-in>         43          0    0.0    0.9     0.0  100.0
19  CAF        Main                  <entire-module>    85          0    0.0    0.9     0.0    1.2
20   main      Main                  scc005.hs:10:1-22  86          1    0.0    0.2     0.0    0.3
21    g        Main                  scc005.hs:7:1-13   87          1    0.0    0.2     0.0    0.2
22     f       Main                  scc005.hs:3:1-9    88          1    0.0    0.0     0.0    0.0
23  CAF        GHC.Conc.Signal       <entire-module>    77          0    0.0    1.7     0.0    1.7
24  CAF        GHC.IO.Encoding       <entire-module>    74          0    0.0    7.1     0.0    7.1
25  CAF        GHC.IO.Handle.FD      <entire-module>    72          0    0.0   88.5     0.0   88.5
26  CAF        GHC.IO.Encoding.Iconv <entire-module>    54          0    0.0    0.6     0.0    0.6