| OLD | NEW |
| 1 #! /usr/bin/perl | 1 #! /usr/bin/perl |
| 2 | 2 |
| 3 ##--------------------------------------------------------------------## | 3 ##--------------------------------------------------------------------## |
| 4 ##--- Massif's results printer ms_print.in ---## | 4 ##--- Massif's results printer ms_print.in ---## |
| 5 ##--------------------------------------------------------------------## | 5 ##--------------------------------------------------------------------## |
| 6 | 6 |
| 7 # This file is part of Massif, a Valgrind tool for profiling memory | 7 # This file is part of Massif, a Valgrind tool for profiling memory |
| 8 # usage of programs. | 8 # usage of programs. |
| 9 # | 9 # |
| 10 # Copyright (C) 2007-2007 Nicholas Nethercote | 10 # Copyright (C) 2007-2007 Nicholas Nethercote |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 my $graph_x = 72; | 48 my $graph_x = 72; |
| 49 my $graph_y = 20; | 49 my $graph_y = 20; |
| 50 | 50 |
| 51 # Input file name | 51 # Input file name |
| 52 my $input_file = undef; | 52 my $input_file = undef; |
| 53 | 53 |
| 54 # Tmp file name. | 54 # Tmp file name. |
| 55 my $tmp_file = "ms_print.tmp.$$"; | 55 my $tmp_file = "ms_print.tmp.$$"; |
| 56 | 56 |
| 57 # Version number. | 57 # Version number. |
| 58 my $version = "3.8.0.SVN"; | 58 my $version = "3.7.0.SVN"; |
| 59 | 59 |
| 60 # Args passed, for printing. | 60 # Args passed, for printing. |
| 61 my $ms_print_args; | 61 my $ms_print_args; |
| 62 | 62 |
| 63 # Usage message. | 63 # Usage message. |
| 64 my $usage = <<END | 64 my $usage = <<END |
| 65 usage: ms_print [options] massif-out-file | 65 usage: ms_print [options] massif-out-file |
| 66 | 66 |
| 67 options for the user, with defaults in [ ], are: | 67 options for the user, with defaults in [ ], are: |
| 68 -h --help show this message | 68 -h --help show this message |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 | 671 |
| 672 #---------------------------------------------------------------------------- | 672 #---------------------------------------------------------------------------- |
| 673 # "main()" | 673 # "main()" |
| 674 #---------------------------------------------------------------------------- | 674 #---------------------------------------------------------------------------- |
| 675 process_cmd_line(); | 675 process_cmd_line(); |
| 676 read_input_file(); | 676 read_input_file(); |
| 677 | 677 |
| 678 ##--------------------------------------------------------------------## | 678 ##--------------------------------------------------------------------## |
| 679 ##--- end ms_print.in ---## | 679 ##--- end ms_print.in ---## |
| 680 ##--------------------------------------------------------------------## | 680 ##--------------------------------------------------------------------## |
| OLD | NEW |