-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcallgrind.out
494 lines (475 loc) · 4.83 KB
/
callgrind.out
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
# callgrind format
version: 1
creator: callgrind-3.15.0
pid: 57046
cmd: ./mdriver -f traces/xterm.rep
part: 1
desc: I1 cache:
desc: D1 cache:
desc: LL cache:
desc: Timerange: Basic block 0 - 124617874
desc: Trigger: Program termination
positions: line
events: Ir
summary: 5373840
ob=(1) /usr/lib/x86_64-linux-gnu/ld-2.31.so
fl=(1) ???
fn=(0) 0x0000000000001100
cob=(5) /home/pawel/Desktop/clean malloc/malloc-AThit7/mdriver
cfi=(112) ???
cfn=(350) _start
calls=1 0
0 5373840
ob=(2) ???
fl=(18) ???
fn=(634) 0x0000000000109320
0 30
cob=(3) /usr/lib/x86_64-linux-gnu/libc-2.31.so
cfi=(142) /build/glibc-SzIz7B/glibc-2.31/string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
cfn=(468) __memcpy_avx_unaligned_erms
calls=15 225
0 183
ob=(5)
fl=(164) /home/pawel/Desktop/clean malloc/malloc-AThit7/mm.c
fn=(632) mm_realloc
356 315
+2 135
+6 90
75 72
+35 288
377 138
+9 72
+11 45
+16 45
+3 30
56 15
fi=(147) /usr/include/x86_64-linux-gnu/bits/string_fortified.h
-22 30
fe=(164)
+22 15
420 30
fi=(147)
34 45
cob=(2)
cfi=(18)
cfn=(634)
calls=15 -34
* 213
fe=(164)
426 30
+4 252
56 12
378 12
+1 36
199 24
+2 12
+1 18
-31 30
-6 18
+6 6
-6 12
+6 24
+5 12
+1 12
-86 21
390 63
91 21
-9 63
390 21
cfn=(630) shrink
calls=21 240
* 837
56 42
391 84
+39 9
-65 9
+65 36
-65 9
178 12
-1 6
+1 30
fn=(614) mm_malloc
284 74961
124 49974
284 24987
146 49974
+1 426
+2 852
+2 1392
+4 348
270 348
110 348
+45 696
270 696
155 24639
270 24639
110 24639
+45 49278
270 49278
165 595398
274 9399
56 27654
+54 55308
276 111159
56 19272
276 28908
110 427344
-54 371952
+54 371952
270 371952
+20 46890
+4 25728
+2 38592
128 25728
cfi=(145) /home/pawel/Desktop/clean malloc/malloc-AThit7/memlib.c
cfn=(612) mem_sbrk
calls=12867 -73
* 115776
296 8298
128 5532
cfi=(145)
cfn=(612)
calls=2766 -73
* 24894
+1 31260
298 31260
+3 15630
82 15630
303 15630
82 15630
315 15630
-14 15630
+14 15630
105 15630
315 31260
199 18714
+2 18714
+1 18714
-31 46785
-6 18714
+6 9357
-6 28071
+6 37428
+5 18714
+1 20505
+1 3582
-13 2388
+11 1194
+2 597
-1 597
+1 4179
-96 597
312 1194
82 597
312 597
cfn=(630)
calls=606 -72
* 48690
82 8760
312 17520
82 8760
312 8760
cfn=(630)
calls=8772 -72
* 531669
105 9357
315 37428
144 147366
-88 2766
199 5532
+2 480
+1 720
-31 1200
-6 480
+6 240
-6 720
+6 960
+5 480
+1 489
+1 18
-13 12
+11 6
+2 3
-1 3
+1 15
+1 3
-1 17520
-1 8760
+1 61320
+32 5052
-32 474
-1 237
+1 1185
fn=(628) mm_free
319 10707
+3 21414
-3 21414
110 10707
-35 10707
+35 58662
329 23751
+7 21414
+1 4743
56 3162
+59 3162
339 1581
56 1581
340 1581
56 1581
339 1581
+1 3162
199 3162
+2 2952
+1 2952
+1 2952
-32 7380
-6 2952
+6 1476
-6 4428
+6 5904
+5 2952
+1 3069
+1 234
-13 156
+11 78
+2 39
-1 39
+1 156
344 39
82 39
+3 39
+97 78
344 10668
82 10668
+3 10668
+97 21336
-36 31500
-2 40344
+11 40344
+29 20172
-19 50718
+13 288
-1 864
-1 576
+1 288
+1 288
-1 576
-12 288
+11 576
+1 288
+1 864
56 576
346 1152
56 20838
346 41676
110 7650
-10 3825
352 7650
149 828
+2 1572
+4 1179
+29 786
-33 2751
+14 1965
-14 63
+14 105
+12 10212
+1 10212
-2 20424
+1 10212
+1 10212
-1 20424
+17 10212
347 6882
+5 13764
56 5871
330 5871
199 11742
+2 11424
+1 11424
-31 28560
-6 11424
+6 5712
-6 11424
+6 5712
-6 5712
+6 22848
+5 11424
+1 11865
+1 882
-13 588
+11 294
+2 147
-1 147
+1 882
+1 147
-1 1437
-1 1437
+1 8622
-23 21
-8 21
+37 42
-6 11130
-1 5565
+1 33390
fn=(630)
240 9378
+1 9378
56 18756
241 28134
+4 28134
91 9378
245 18756
+2 28134
82 1107
+4 369
+24 18756
-54 18702
+54 9351
-14 9351
262 18756
-9 9009
82 18018
-12 9009
252 9009
82 9009
+3 9009
+97 18018
-36 18846
-2 17280
+11 17280
+29 8640
-19 22110
+13 510
-1 1530
-1 1020
+1 510
+1 510
-1 1020
-12 510
+11 1020
+1 510
+1 1530
56 1020
255 2040
56 16998
255 33996
110 5985
-10 1995
+1 1995
+48 3924
+2 7272
+4 5454
+29 3636
-33 12726
+14 9090
-14 432
+14 720
+12 5772
+1 5772
-2 11544
+1 5772
+1 5772
-1 11544
+17 5772
+62 21042
155 144
-8 144
+37 288
fl=(145)
fn=(612)
55 15630
+1 15630
+2 78150
+6 15630
+2 15630
fl=(112)
fn=(350)
cob=(3)
cfi=(113) /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c
cfn=(352) (below main)
calls=1 137
0 5373840
fl=(119) /home/pawel/Desktop/clean malloc/malloc-AThit7/mdriver.c
fn=(646) eval_mm_speed
cfi=(164)
cfn=(632)
calls=15 356
846 1117
cfi=(164)
cfn=(628)
calls=3569 319
858 304745
cfi=(164)
cfn=(614)
calls=8329 284
837 1485418
fn=(640) fsecs
cfn=(646)
calls=1 819
189 1791280
fn=(378) main
cfi=(164)
cfn=(632)
calls=15 356
676 1117
cfi=(164)
cfn=(632)
calls=15 356
775 1117
cfi=(164)
cfn=(628)
calls=3569 319
715 304745
cfi=(164)
cfn=(614)
calls=8329 284
650 1485418
cfi=(164)
cfn=(628)
calls=3569 319
795 304745
cfi=(164)
cfn=(614)
calls=8329 284
759 1485418
cfn=(640)
calls=1 184
219 1791280
ob=(3)
fl=(113)
fn=(352)
cob=(5)
cfi=(119)
cfn=(378)
calls=1 231
308 5373840
fl=(142)
fn=(468)
225 15
+1 15
+6 15
+1 15
+1 6
+1 6
+3 6
+1 6
+1 6
+1 6
+2 6
+1 6
+33 9
+1 9
+2 6
+1 6
+23 3
+1 3
+1 3
+1 3
+1 3
+4 6
+1 6
+1 6
+1 6
+1 6
totals: 5373840