summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/scripts/time.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-10 22:17:54 +0800
committerruki <[email protected]>2018-11-10 22:17:54 +0800
commita50123ab22c677169a4a5e84d3273688b06ff136 (patch)
treeb214bb871581b26cd6c06283940bae4890f405eb /xmake/plugins/lua/scripts/time.lua
parent0bd6fcab07f40bf9c0f4d14d1e761de9fdde6b29 (diff)
modify time.lua format
Diffstat (limited to 'xmake/plugins/lua/scripts/time.lua')
-rw-r--r--xmake/plugins/lua/scripts/time.lua2
1 files changed, 1 insertions, 1 deletions
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