摘要: Linux中time命令,我们经常用来计算某个程序的运行耗时,用户态cpu耗时,系统态cpu耗时。 例如: $ time foo real 0m0.003s user 0m0.000s sys 0m0.004s$ 那么这三个时间都具体代表什么意思呢? real是实际命令运行结束时时钟时间差,包括进程 阅读全文
posted @ 2022-04-14 08:56 redman274 阅读(194) 评论(0) 推荐(0) 编辑