计算程序执行时间

time命令用于计量运行时间。
real从启动到终止,user用户空间时间,sys内核空间时间。

原文地址:https://www.cnblogs.com/embedded-linux/p/5046726.html