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
|
--------------------------------------------------------------------------------
Command: ./rapidxml 1 xmark 16384
Massif arguments: --heap=yes --depth=5 --massif-out-file=/tmp/massif.out
ms_print arguments: /tmp/massif.out
--------------------------------------------------------------------------------
MB
312.7^# .
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
|# :
0 +----------------------------------------------------------------------->Gi
0 44.54
Number of snapshots: 10
Detailed snapshots: [4 (peak)]
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
1 1,437,564 327,680,008 327,680,000 8 0
2 1,437,597 327,800,752 327,800,736 16 0
3 1,514,883 327,921,496 327,921,472 24 0
4 1,585,218 327,921,496 327,921,472 24 0
100.00% (327,921,472B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.93% (327,680,000B) 0x40368D: xmark_init(unsigned long) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
| ->99.93% (327,680,000B) 0x406C01: Test(int, char**) (in /home/csa/misc/bench/xmlbench/parse/rapidxml)
| ->99.93% (327,680,000B) 0x55D7A42: (below main) (in /lib64/libc-2.10.1.so)
|
->00.07% (241,472B) in 1+ places, all below ms_print's threshold (01.00%)
--------------------------------------------------------------------------------
n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
5 1,585,218 327,800,752 327,800,736 16 0
6 23,909,079,582 327,921,496 327,921,472 24 0
7 23,909,147,449 327,800,752 327,800,736 16 0
8 47,828,139,460 120,744 120,736 8 0
9 47,828,139,494 0 0 0 0
|