You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
date -R |
|
starttime=`date +'%Y-%m-%d %H:%M:%S'` |
|
make px4_fmu-v3_default |
|
endtime=`date +'%Y-%m-%d %H:%M:%S'` |
|
date -R |
|
start_seconds=$(date --date="$starttime" +%s); |
|
end_seconds=$(date --date="$endtime" +%s); |
|
echo "本次运行时间: "$((end_seconds-start_seconds))"s"
|
|
|