From a50123ab22c677169a4a5e84d3273688b06ff136 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 10 Nov 2018 22:17:54 +0800 Subject: modify time.lua format --- xmake/plugins/lua/scripts/time.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/plugins/lua/scripts/time.lua') diff --git a/xmake/plugins/lua/scripts/time.lua b/xmake/plugins/lua/scripts/time.lua index 4e91dcad4..d09f11dd8 100644 --- a/xmake/plugins/lua/scripts/time.lua +++ b/xmake/plugins/lua/scripts/time.lua @@ -30,7 +30,7 @@ function main(...) local t = os.mclock() os.execv(program, table.slice(argv, 2)) t = os.mclock() - t - print("time %dms", t) + print("time %0.3fs", t / 1000.) else raise("program not found!") end -- cgit v1.3.1