Mercurial > octave-antonio
comparison run-octave.in @ 19159:eeb22763138b
Add --callgrind option to run-octave to run with profiling.
* run-octave.in: Add --callgrind option which calls valgrind with
tool=callgrind.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 24 Sep 2014 17:38:52 -0700 |
parents | d902542221c8 |
children | 0e1f5a750d00 |
comparison
equal
deleted
inserted
replaced
19158:9c28728a3041 | 19159:eeb22763138b |
---|---|
70 driver="gdb -i=mi --args" | 70 driver="gdb -i=mi --args" |
71 shift | 71 shift |
72 elif [ "x$1" = "x-valgrind" ]; then | 72 elif [ "x$1" = "x-valgrind" ]; then |
73 driver="valgrind --tool=memcheck" | 73 driver="valgrind --tool=memcheck" |
74 shift | 74 shift |
75 elif [ "x$1" = "x-callgrind" ]; then | |
76 driver="valgrind --tool=callgrind" | |
77 shift | |
75 elif [ "x$1" = "x-strace" ]; then | 78 elif [ "x$1" = "x-strace" ]; then |
76 driver="strace -o octave.trace" | 79 driver="strace -o octave.trace" |
77 shift | 80 shift |
78 elif [ "x$1" = "x-cli" ]; then | 81 elif [ "x$1" = "x-cli" ]; then |
79 octave_executable="$builddir/src/octave-cli" | 82 octave_executable="$builddir/src/octave-cli" |