Files
ftmemsim-valgrind/massif/tests/thresholds_5_0.post.exp
Nicholas Nethercote 01e4f950f2 - Rewrote documentation.
- Added a new time unit, instructions executed, and made it the default -- it's
  much more reproducible and consistent than milliseconds.  Requires IRSB
  instrumentation and so slows down some programs (malloc-light ones such as
  bzip2) by about 20%, others by less.
- ms_print now doesn't overwrite the x-axis in the graphs.
- Added a test for --detailed-freq and --max-snapshots


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7229
2007-11-26 21:59:04 +00:00

67 lines
3.9 KiB
Plaintext

--------------------------------------------------------------------------------
Command: ./thresholds
Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file=massif.out
ms_print arguments: massif.out --threshold=0
--------------------------------------------------------------------------------
KB
39.06^ @
| @
| @
| @
| . @
| .. : @
| . ::: : @
| : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
| : : ::: : @
0 +----------------------------------------------------------------------->KB
0 39.06
Number of snapshots: 10
Detailed snapshots: [9]
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
1 24,000 24,000 24,000 0 0
2 27,600 27,600 27,600 0 0
3 28,800 28,800 28,800 0 0
4 29,200 29,200 29,200 0 0
5 29,600 29,600 29,600 0 0
6 29,800 29,800 29,800 0 0
7 31,800 31,800 31,800 0 0
8 39,800 39,800 39,800 0 0
9 40,000 40,000 40,000 0 0
100.00% (40,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->66.50% (26,600B) 0x........: my_malloc1 (thresholds.c:23)
| ->60.00% (24,000B) 0x........: a7550 (thresholds.c:38)
| | ->60.00% (24,000B) 0x........: main (thresholds.c:52)
| |
| ->05.00% (2,000B) 0x........: main (thresholds.c:54)
| |
| ->01.50% (600B) in 2 places, all below massif's threshold (05.00%)
|
->20.00% (8,000B) 0x........: main (thresholds.c:55)
|
->13.00% (5,200B) 0x........: my_malloc2 (thresholds.c:28)
| ->09.00% (3,600B) 0x........: a7550 (thresholds.c:39)
| | ->09.00% (3,600B) 0x........: main (thresholds.c:52)
| |
| ->04.00% (1,600B) in 2 places, all below massif's threshold (05.00%)
|
->00.50% (200B) in 1 place, below massif's threshold (05.00%)