Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 046df620d011863a2d073bbcacf2d3641ba7f98a (plain) (blame)
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
desc: --massif-out-file=YYYYYYYYYYYY/valgrindFiles/testTreeNodes/massif_%p.txt --heap=yes --heap-admin=8 --stacks=no --depth=30 --threshold=1.0 --peak-inaccuracy=1.0 --time-unit=i --detailed-freq=2 --max-snapshots=100
cmd: XXXXXXXXXXXX/alloctest/Debug/alloctest
time_unit: i
#-----------
snapshot=0
#-----------
time=0
mem_heap_B=0
mem_heap_extra_B=0
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=1
#-----------
time=111201
mem_heap_B=40
mem_heap_extra_B=16
mem_stacks_B=0
heap_tree=detailed
n1: 40 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 n0: 40 0x4005CD: main (alloctest.c:30)
#-----------
snapshot=2
#-----------
time=111240
mem_heap_B=80
mem_heap_extra_B=32
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=3
#-----------
time=111275
mem_heap_B=120
mem_heap_extra_B=48
mem_stacks_B=0
heap_tree=detailed
n3: 120 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 n0: 40 0x4005CD: main (alloctest.c:30)
 n1: 40 0x40069A: foo (alloctest.c:48)
  n0: 40 0x4005DB: main (alloctest.c:31)
 n0: 40 0x4005EB: main (alloctest.c:32)
#-----------
snapshot=4
#-----------
time=111314
mem_heap_B=160
mem_heap_extra_B=64
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=5
#-----------
time=111349
mem_heap_B=200
mem_heap_extra_B=80
mem_stacks_B=0
heap_tree=detailed
n4: 200 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 n2: 80 0x40069A: foo (alloctest.c:48)
  n0: 40 0x4005DB: main (alloctest.c:31)
  n0: 40 0x4005F9: main (alloctest.c:33)
 n0: 40 0x4005CD: main (alloctest.c:30)
 n0: 40 0x4005EB: main (alloctest.c:32)
 n0: 40 0x400609: main (alloctest.c:34)
#-----------
snapshot=6
#-----------
time=111388
mem_heap_B=240
mem_heap_extra_B=96
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=7
#-----------
time=112285
mem_heap_B=240
mem_heap_extra_B=96
mem_stacks_B=0
heap_tree=peak
n4: 240 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 n3: 120 0x40069A: foo (alloctest.c:48)
  n0: 40 0x4005DB: main (alloctest.c:31)
  n0: 40 0x4005F9: main (alloctest.c:33)
  n0: 40 0x400617: main (alloctest.c:35)
 n0: 40 0x4005CD: main (alloctest.c:30)
 n0: 40 0x4005EB: main (alloctest.c:32)
 n0: 40 0x400609: main (alloctest.c:34)
#-----------
snapshot=8
#-----------
time=112285
mem_heap_B=200
mem_heap_extra_B=80
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=9
#-----------
time=112323
mem_heap_B=160
mem_heap_extra_B=64
mem_stacks_B=0
heap_tree=detailed
n4: 160 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 n3: 80 0x40069A: foo (alloctest.c:48)
  n0: 40 0x4005F9: main (alloctest.c:33)
  n0: 40 0x400617: main (alloctest.c:35)
  n0: 0 in 1 place, below massif's threshold (01.00%)
 n0: 40 0x4005EB: main (alloctest.c:32)
 n0: 40 0x400609: main (alloctest.c:34)
 n0: 0 in 1 place, below massif's threshold (01.00%)
#-----------
snapshot=10
#-----------
time=112356
mem_heap_B=120
mem_heap_extra_B=48
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=11
#-----------
time=112394
mem_heap_B=80
mem_heap_extra_B=32
mem_stacks_B=0
heap_tree=detailed
n3: 80 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 n2: 40 0x40069A: foo (alloctest.c:48)
  n0: 40 0x400617: main (alloctest.c:35)
  n0: 0 in 2 places, all below massif's threshold (01.00%)
 n0: 40 0x400609: main (alloctest.c:34)
 n0: 0 in 2 places, all below massif's threshold (01.00%)
#-----------
snapshot=12
#-----------
time=112427
mem_heap_B=40
mem_heap_extra_B=16
mem_stacks_B=0
heap_tree=empty
#-----------
snapshot=13
#-----------
time=112465
mem_heap_B=0
mem_heap_extra_B=0
mem_stacks_B=0
heap_tree=detailed
n1: 0 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 n0: 0 in 4 places, all below massif's threshold (01.00%)

Back to the top