linuxcnc/bin/profile_axis
2010-03-11 16:17:10 -06:00

4 lines
187 B
Bash
Executable file

#!/bin/bash
SCRIPT_LOCATION=$(dirname $(readlink -f $0))
python -mcProfile -o axis.profile $SCRIPT_LOCATION/axis "$@"
(echo sort cumulative; echo stats 20) | python -mpstats axis.profile