Merge "Sort the list of scripts in the profile view"
This commit is contained in:
commit
bfe7957863
@ -99,7 +99,7 @@ printf "%-40s %9s\n" Script Seconds
|
|||||||
printf "%-40s %9s\n" --------------------------------------- ----------
|
printf "%-40s %9s\n" --------------------------------------- ----------
|
||||||
echo ""
|
echo ""
|
||||||
pushd $PROFILE_DIR > /dev/null
|
pushd $PROFILE_DIR > /dev/null
|
||||||
for target in $(find . -name 'start_*' -printf '%f\n') ; do
|
for target in $(find . -name 'start_*' -printf '%f\n' | env LC_ALL=C sort -n) ; do
|
||||||
stop_file=stop_${target##start_}
|
stop_file=stop_${target##start_}
|
||||||
start_seconds=$(cat $target)
|
start_seconds=$(cat $target)
|
||||||
stop_seconds=$(cat $stop_file)
|
stop_seconds=$(cat $stop_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user