1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
  Fri Sep 14 21:37 2012 Time and Allocation Profiling Report  (Final)

     test1 +RTS -p -RTS

  total time  =       13.98 secs   (13978 ticks @ 1000 us, 1 processor)
  total alloc = 21,596,005,124 bytes  (excludes profiling overheads)

COST CENTRE MODULE  %time %alloc

sumWith1    Main     72.8   63.0
test        Main     27.2   37.0


                                                      individual     inherited
COST CENTRE MODULE                  no.     entries  %time %alloc   %time %alloc

MAIN        MAIN                     45           0    0.0    0.0   100.0  100.0
 main       Main                     91           0    0.0    0.0     0.0    0.0
 CAF        Main                     89           0    0.0    0.0   100.0  100.0
  test      Main                     92           1   27.2   37.0   100.0  100.0
   sumWith1 Main                     93   200000001   72.8   63.0    72.8   63.0
  main      Main                     90           1    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Handle.FD         87           0    0.0    0.0     0.0    0.0
 CAF        GHC.Conc.Signal          86           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Encoding          77           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Encoding.Iconv    76           0    0.0    0.0     0.0    0.0
 CAF        GHC.Show                 74           0    0.0    0.0     0.0    0.0


---------------------------------------------------------------------------------------


  Fri Sep 14 21:36 2012 Time and Allocation Profiling Report  (Final)

     test2 +RTS -p -RTS

  total time  =       15.56 secs   (15565 ticks @ 1000 us, 1 processor)
  total alloc = 21,596,005,124 bytes  (excludes profiling overheads)

COST CENTRE MODULE  %time %alloc

sumWith2    Main     73.0   63.0
test        Main     27.0   37.0


                                                      individual     inherited
COST CENTRE MODULE                  no.     entries  %time %alloc   %time %alloc

MAIN        MAIN                     45           0    0.0    0.0   100.0  100.0
 main       Main                     91           0    0.0    0.0     0.0    0.0
 CAF        Main                     89           0    0.0    0.0   100.0  100.0
  test      Main                     92           1   27.0   37.0   100.0  100.0
   sumWith2 Main                     93   200000001   73.0   63.0    73.0   63.0
  main      Main                     90           1    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Handle.FD         87           0    0.0    0.0     0.0    0.0
 CAF        GHC.Conc.Signal          86           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Encoding          77           0    0.0    0.0     0.0    0.0
 CAF        GHC.IO.Encoding.Iconv    76           0    0.0    0.0     0.0    0.0
 CAF        GHC.Show                 74           0    0.0    0.0     0.0    0.0