summaryrefslogtreecommitdiff
path: root/testsuite/tests/profiling/should_run/ioprof.prof.sample
blob: 103207d8caf5dde364b089a2b50c7f91c6147b17 (plain)
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
	Mon May 23 13:50 2022 Time and Allocation Profiling Report  (Final)

	   ioprof +RTS -hc -p -RTS

	total time  =        0.00 secs   (0 ticks @ 1000 us, 1 processor)
	total alloc =     129,248 bytes  (excludes profiling overheads)

COST CENTRE MODULE           SRC                 %time %alloc

CAF         Main             <entire-module>       0.0    1.1
main        Main             ioprof.hs:28:1-43     0.0    6.8
errorM.\    Main             ioprof.hs:23:22-28    0.0   56.8
CAF         GHC.IO.Handle.FD <entire-module>       0.0   26.9
CAF         GHC.IO.Exception <entire-module>       0.0    1.0
CAF         GHC.IO.Encoding  <entire-module>       0.0    2.3
CAF         GHC.Exception    <entire-module>       0.0    3.0


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

MAIN           MAIN                  <built-in>                129           0    0.0    0.5     0.0  100.0
 CAF           GHC.Conc.Signal       <entire-module>           233           0    0.0    0.5     0.0    0.5
 CAF           GHC.Conc.Sync         <entire-module>           232           0    0.0    0.5     0.0    0.5
 CAF           GHC.Exception         <entire-module>           215           0    0.0    3.0     0.0    3.0
 CAF           GHC.IO.Encoding       <entire-module>           199           0    0.0    2.3     0.0    2.3
 CAF           GHC.IO.Encoding.Iconv <entire-module>           197           0    0.0    0.2     0.0    0.2
 CAF           GHC.IO.Exception      <entire-module>           191           0    0.0    1.0     0.0    1.0
 CAF           GHC.IO.Handle.FD      <entire-module>           188           0    0.0   26.9     0.0   26.9
 CAF           GHC.Stack.CCS         <entire-module>           167           0    0.0    0.2     0.0    0.2
 CAF           GHC.Weak.Finalize     <entire-module>           158           0    0.0    0.0     0.0    0.0
 CAF           Main                  <entire-module>           136           0    0.0    1.1     0.0    1.1
  <*>          Main                  ioprof.hs:20:5-14         261           1    0.0    0.0     0.0    0.0
  fmap         Main                  ioprof.hs:16:5-16         269           1    0.0    0.0     0.0    0.0
  main         Main                  ioprof.hs:28:1-43         258           1    0.0    0.0     0.0    0.0
 main          Main                  ioprof.hs:28:1-43         259           0    0.0    6.8     0.0   63.7
  bar          Main                  ioprof.hs:31:1-20         260           1    0.0    0.1     0.0    0.2
   foo         Main                  ioprof.hs:34:1-16         275           1    0.0    0.0     0.0    0.0
    errorM     Main                  ioprof.hs:23:1-28         276           1    0.0    0.0     0.0    0.0
   <*>         Main                  ioprof.hs:20:5-14         262           0    0.0    0.0     0.0    0.0
    >>=        Main                  ioprof.hs:(11,3)-(12,50)  263           1    0.0    0.0     0.0    0.0
   fmap        Main                  ioprof.hs:16:5-16         270           0    0.0    0.0     0.0    0.0
    >>=        Main                  ioprof.hs:(11,3)-(12,50)  271           1    0.0    0.0     0.0    0.0
  runM         Main                  ioprof.hs:26:1-37         264           1    0.0    0.0     0.0   56.8
   bar         Main                  ioprof.hs:31:1-20         265           0    0.0    0.0     0.0   56.8
    <*>        Main                  ioprof.hs:20:5-14         266           0    0.0    0.0     0.0    0.0
     >>=       Main                  ioprof.hs:(11,3)-(12,50)  267           0    0.0    0.0     0.0    0.0
      >>=.\    Main                  ioprof.hs:(11,27)-(12,50) 268           1    0.0    0.0     0.0    0.0
    fmap       Main                  ioprof.hs:16:5-16         272           0    0.0    0.0     0.0    0.0
     >>=       Main                  ioprof.hs:(11,3)-(12,50)  273           0    0.0    0.0     0.0    0.0
      >>=.\    Main                  ioprof.hs:(11,27)-(12,50) 274           1    0.0    0.0     0.0    0.0
    foo        Main                  ioprof.hs:34:1-16         277           0    0.0    0.0     0.0   56.8
     errorM    Main                  ioprof.hs:23:1-28         278           0    0.0    0.0     0.0   56.8
      errorM.\ Main                  ioprof.hs:23:22-28        279           1    0.0   56.8     0.0   56.8