Import LinuxCNC source tree
This commit is contained in:
3
bin/.gitignore
vendored
Normal file
3
bin/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*
|
||||
!/profile_axis
|
||||
!/.gitignore
|
||||
4
bin/profile_axis
Executable file
4
bin/profile_axis
Executable file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user