Linux下测试程序运行时间

比较简单的方法就是使用time命令:

time ./a.out
原文地址:https://www.cnblogs.com/wangshuo/p/1929919.html