Software /
code /
prosody
File
util/time.lua @ 8612:1f2fb8070c7c
GNUMakefile: Add 'coverage' target (requires luacov and luacov-console)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 17 Mar 2018 09:31:57 +0000 |
parent | 7461:72e48bddf617 |
line wrap: on
line source
-- Import gettime() from LuaSocket, as a way to access high-resolution time -- in a platform-independent way local socket_gettime = require "socket".gettime; return { now = socket_gettime; }