~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to massif/tests/custom_alloc.post.exp

  • Committer: Bazaar Package Importer
  • Author(s): Andrés Roldán
  • Date: 2008-06-13 02:31:40 UTC
  • mto: (1.4.1 upstream) (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20080613023140-iwk33rz9rhvfkr96
Import upstream version 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--------------------------------------------------------------------------------
 
2
Command:            ./custom_alloc
 
3
Massif arguments:   --stacks=no --time-unit=B --massif-out-file=massif.out
 
4
ms_print arguments: massif.out
 
5
--------------------------------------------------------------------------------
 
6
 
 
7
 
 
8
     B
 
9
  208^                        #                                   :           
 
10
     |                        #                                   :           
 
11
     |                        #                                   :           
 
12
     |                        #                                   :           
 
13
     |                        #                                   :           
 
14
     |                        #                                   :           
 
15
     |                        #                                   :           
 
16
     |                        #                                   :           
 
17
     |                        #                                   :           
 
18
     |                        #                 .                 :           
 
19
     |      @                 #                 :                 :           
 
20
     |      @                 #                 :                 :           
 
21
     |      @                 #                 :                 :           
 
22
     |      @                 #                 :                 :           
 
23
     |      @                 #                 :                 :           
 
24
     |      @                 #                 :                 :           
 
25
     |      @                 #                 :                 :           
 
26
     |      @                 #                 :                 :           
 
27
     |      @                 #                 :                 :           
 
28
     |      @                 #                 :                 :           
 
29
   0 +----------------------------------------------------------------------->KB
 
30
     0                                                                   1.242
 
31
 
 
32
Number of snapshots: 11
 
33
 Detailed snapshots: [2, 5 (peak)]
 
34
 
 
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            108              108              100             8            0
 
40
  2            108              108              100             8            0
 
41
92.59% (100B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 
42
->92.59% (100B) 0x........: custom_alloc (custom_alloc.c:41)
 
43
  ->92.59% (100B) 0x........: main (custom_alloc.c:60)
 
44
    
 
45
--------------------------------------------------------------------------------
 
46
  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
 
47
--------------------------------------------------------------------------------
 
48
  3            216                0                0             0            0
 
49
  4            424              208              200             8            0
 
50
  5            424              208              200             8            0
 
51
96.15% (200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
 
52
->96.15% (200B) 0x........: custom_alloc (custom_alloc.c:41)
 
53
  ->96.15% (200B) 0x........: main (custom_alloc.c:63)
 
54
  | 
 
55
  ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
 
56
  
 
57
--------------------------------------------------------------------------------
 
58
  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
 
59
--------------------------------------------------------------------------------
 
60
  6            632                0                0             0            0
 
61
  7            744              112              100            12            0
 
62
  8            856                0                0             0            0
 
63
  9          1,064              208              200             8            0
 
64
 10          1,272                0                0             0            0