File: profile_axis

package info (click to toggle)
linuxcnc 1%3A2.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 285,604 kB
  • sloc: python: 202,568; ansic: 109,036; cpp: 99,239; tcl: 16,054; xml: 10,631; sh: 10,303; makefile: 1,255; javascript: 138; sql: 72; asm: 15
file content (4 lines) | stat: -rwxr-xr-x 189 bytes parent folder | download | duplicates (2)
1
2
3
4
#!/bin/bash
SCRIPT_LOCATION=$(dirname $(readlink -f $0))
python3 -mcProfile -o axis.profile $SCRIPT_LOCATION/axis "$@"
(echo sort cumulative; echo stats 20) | python3 -mpstats axis.profile