mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-25 08:46:09 +00:00
55 lines
3.7 KiB
Plaintext
55 lines
3.7 KiB
Plaintext
--------------------------------------------------------------------------------
|
|
Command: ./big-alloc
|
|
Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
|
|
ms_print arguments: massif.out
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
MB
|
|
100.0^ :
|
|
| :
|
|
| @@@@@@@:
|
|
| @ :
|
|
| :::::::@ :
|
|
| : @ :
|
|
| :::::::: @ :
|
|
| : : @ :
|
|
| :::::::: : @ :
|
|
| : : : @ :
|
|
| :::::::: : : @ :
|
|
| : : : : @ :
|
|
| ::::::::: : : : @ :
|
|
| : : : : : @ :
|
|
| :::::::: : : : : @ :
|
|
| : : : : : : @ :
|
|
| :::::::: : : : : : @ :
|
|
| : : : : : : : @ :
|
|
| :::::::: : : : : : : @ :
|
|
| : : : : : : : : @ :
|
|
0 +----------------------------------------------------------------------->MB
|
|
0 100.0
|
|
|
|
Number of snapshots: 11
|
|
Detailed snapshots: [9]
|
|
|
|
--------------------------------------------------------------------------------
|
|
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
--------------------------------------------------------------------------------
|
|
0 0 0 0 0 0
|
|
1 10,489,832 10,489,832 10,485,760 4,072 0
|
|
2 20,979,664 20,979,664 20,971,520 8,144 0
|
|
3 31,469,496 31,469,496 31,457,280 12,216 0
|
|
4 41,959,328 41,959,328 41,943,040 16,288 0
|
|
5 52,449,160 52,449,160 52,428,800 20,360 0
|
|
6 62,938,992 62,938,992 62,914,560 24,432 0
|
|
7 73,428,824 73,428,824 73,400,320 28,504 0
|
|
8 83,918,656 83,918,656 83,886,080 32,576 0
|
|
9 94,408,488 94,408,488 94,371,840 36,648 0
|
|
99.96% (94,371,840B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
->99.96% (94,371,840B) 0x........: main (big-alloc.c:12)
|
|
|
|
--------------------------------------------------------------------------------
|
|
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
|
--------------------------------------------------------------------------------
|
|
10 104,898,320 104,898,320 104,857,600 40,720 0
|