Command line help - demangling isn't just for C++
[valgrind.git] / massif / tests / new-cpp.post.exp
blobe23a9f59cc0adaccae2fc9cdfaa0a674b0c79863
1 --------------------------------------------------------------------------------
2 Command:            ./new-cpp
3 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 --ignore-fn=_GLOBAL__sub_I_eh_alloc.cc --ignore-fn=call_init.part.0 --ignore-fn=call_init --ignore-fn=pool --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn=allocBuckets(void*, unsigned int) --ignore-fn=realizeClass(objc_class*) --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create
4 ms_print arguments: massif.out
5 --------------------------------------------------------------------------------
8     KB
9 11.75^                                    ###########                         
10      |                                    #                                   
11      |                                    #                                   
12      |                                    #                                   
13      |                             :::::::#                                   
14      |                             :      #                                   
15      |                             :      #                                   
16      |                       :::::::      #          ::::::::::::             
17      |                       :     :      #          :                        
18      |                       :     :      #          :                        
19      |                       :     :      #          :                        
20      |                       :     :      #          :                        
21      |                       :     :      #          :                        
22      |                       :     :      #          :                        
23      |           :::::::::::::     :      #          :           ::::::       
24      |           :           :     :      #          :           :            
25      |           :           :     :      #          :           :            
26      |           :           :     :      #          :           :     :::::: 
27      |           :           :     :      #          :           :     :      
28      |           :           :     :      #          :           :     :      
29    0 +----------------------------------------------------------------------->KB
30      0                                                                   23.50
32 Number of snapshots: 10
33  Detailed snapshots: [5 (peak)]
35 --------------------------------------------------------------------------------
36   n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
37 --------------------------------------------------------------------------------
38   0              0                0                0             0            0
39   1          4,008            4,008            4,000             8            0
40   2          8,016            8,016            8,000            16            0
41   3         10,024           10,024           10,000            24            0
42   4         12,032           12,032           12,000            32            0
43   5         12,032           12,032           12,000            32            0
44 99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
45 ->33.24% (4,000B) 0x........: main (new-cpp.cpp:19)
46
47 ->33.24% (4,000B) 0x........: main (new-cpp.cpp:20)
48
49 ->16.62% (2,000B) 0x........: main (new-cpp.cpp:21)
50
51 ->16.62% (2,000B) 0x........: main (new-cpp.cpp:22)
52   
53 --------------------------------------------------------------------------------
54   n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
55 --------------------------------------------------------------------------------
56   6         16,040            8,024            8,000            24            0
57   7         20,048            4,016            4,000            16            0
58   8         22,056            2,008            2,000             8            0
59   9         24,064                0                0             0            0