| -------------------------------------------------------------------------------- |
| Command: ./basic |
| Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out --detailed-freq=1 --max-snapshots=10 |
| ms_print arguments: massif.out |
| -------------------------------------------------------------------------------- |
| |
| |
| KB |
| 7.312^ # |
| | # |
| | # |
| | # |
| | # , |
| | @ # @ |
| | @ # @ |
| | @ # @ |
| | @ # @ |
| | , @ # @ @ |
| | @ @ # @ @ |
| | @ @ # @ @ |
| | @ @ # @ @ |
| | @ @ # @ @ , |
| | @ @ # @ @ @ |
| | @ @ @ # @ @ @ |
| | @ @ @ # @ @ @ |
| | @ @ @ # @ @ @ |
| | @ @ @ # @ @ @ @ |
| | @ @ @ # @ @ @ @ |
| 0 +----------------------------------------------------------------------->KB |
| 0 13.81 |
| |
| Number of snapshots: 9 |
| Detailed snapshots: [0, 1, 2, 3, 4 (peak), 5, 6, 7, 8] |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 0 0 0 0 0 0 |
| 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 1 1,872 1,872 1,800 72 0 |
| 96.15% (1,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| ->96.15% (1,800B) 0x........: main (basic.c:14) |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 2 3,952 3,952 3,800 152 0 |
| 96.15% (3,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| ->96.15% (3,800B) 0x........: main (basic.c:14) |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 3 5,616 5,616 5,400 216 0 |
| 96.15% (5,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| ->96.15% (5,400B) 0x........: main (basic.c:14) |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 4 7,488 7,488 7,200 288 0 |
| 96.15% (7,200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| ->96.15% (7,200B) 0x........: main (basic.c:14) |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 5 9,152 5,824 5,600 224 0 |
| 96.15% (5,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| ->96.15% (5,600B) 0x........: main (basic.c:14) |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 6 10,816 4,160 4,000 160 0 |
| 96.15% (4,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| ->96.15% (4,000B) 0x........: main (basic.c:14) |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 7 12,480 2,496 2,400 96 0 |
| 96.15% (2,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| ->96.15% (2,400B) 0x........: main (basic.c:14) |
| |
| -------------------------------------------------------------------------------- |
| n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) |
| -------------------------------------------------------------------------------- |
| 8 14,144 832 800 32 0 |
| 96.15% (800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. |
| ->96.15% (800B) 0x........: main (basic.c:14) |
| |