summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/lua/scripts')
-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