time.clock() 测量CPU时间,比较精准,通过比较程序运行前后的CPU时间差,得出程序运行的CPU时间。 转载于:https://www.cnblogs.com/Roc-Atlantis/p/9901307.html