diff options
| author | ruki <[email protected]> | 2018-11-10 22:17:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-10 22:17:54 +0800 |
| commit | a50123ab22c677169a4a5e84d3273688b06ff136 (patch) | |
| tree | b214bb871581b26cd6c06283940bae4890f405eb /xmake/plugins/lua/scripts/time.lua | |
| parent | 0bd6fcab07f40bf9c0f4d14d1e761de9fdde6b29 (diff) | |
modify time.lua format
Diffstat (limited to 'xmake/plugins/lua/scripts/time.lua')
| -rw-r--r-- | xmake/plugins/lua/scripts/time.lua | 2 |
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 |
