10 2021 档案

摘要:now=os.date("*t") --tablefor i,v in pairs(now) do print(i,v)endnow=os.date("%y-%m-%d %I:%M:%S")print(now) now=os.date("%Y-%m-%d %H:%M:%S")print(now) s 阅读全文
posted @ 2021-10-20 10:57 曾锋 阅读(134) 评论(0) 推荐(0)
摘要:/*获取内存信息@api rtos.meminfo(type)@type "sys"系统内存, "lua"虚拟机内存, 默认为lua虚拟机内存 @return int 总内存大小,单位字节@return int 当前使用的内存大小,单位字节@return int 最大使用的内存大小,单位字节@usa 阅读全文
posted @ 2021-10-12 09:23 曾锋 阅读(120) 评论(0) 推荐(0)