标签:run class tail details log int bsp func port
只需导入time包,在程序开头和结尾加上记录时刻的函数,最后相减
import time start = time.time() run_function() end = time.time() print str(end)
参考:https://blog.csdn.net/laobai1015/article/details/83618971
标签:run class tail details log int bsp func port
原文地址:https://www.cnblogs.com/xxswkl/p/11059679.html