Profiling Question

Saswat Anand saswatan at comp.nus.edu.sg
Mon Sep 24 01:40:39 EDT 2001


Hi,
  In the following profile, should not the sum of %time and %alloc be less
than or equal to 100. It is not in this case. What do they mean then?

Thanks,
Saswat

	total time  =      324.38 secs   (16219 ticks @ 20 ms)
	total alloc = 4,577,009,108 bytes  (excludes profiling overheads)

COST CENTRE          MODULE     %time %alloc

GC                   GC          33.7    0.0
?!                   Mutables    14.3   81.7
myParse              Mutables    11.9   48.1
.>                   Operators   11.0   46.6
.==                  Operators   10.4   48.2
cons                 CPL          9.9   53.3
lift2V               Operators    8.5   47.3
joint                Pattern      7.3    3.3
?                    Pattern      6.2   29.3
lms'                 Pattern      3.5   24.6
int2patt             Pattern      3.4   29.4
?!!                  Mutables     3.2   20.5
frac                 Operators    2.0    8.1
lms                  Pattern      1.6   12.0
up                   Primitives   1.5    6.7
.<                   Operators    1.2    2.7
.<=                  Operators    0.9    2.2
down                 Primitives   0.7    3.0
span'                Mutables     0.5    5.4
load                 Mutables     0.2    1.9





More information about the Glasgow-haskell-bugs mailing list