分析程序耗时 time ./test.out 结果 real 0m5.699s #总共运行时间5.699s user 0m0.016s #用户态耗时0.016s,说明大量的时间程序是挂起状态,如sleep sys 0m0.000s #系统调用耗时0