update: 如果对精度的要求不需要到毫秒级别,可以用自带的os模块.精度为0.01秒. 复制代码 代码如下: local s = os.clock() local e = os.clock()
確定! 回上一頁