From: Manuel Munz Date: Wed, 15 Dec 2010 00:42:56 +0000 (+0000) Subject: libs/sgi-uhttpd: Add variable exectime to measure script execution time X-Git-Tag: 0.10.0~279 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4e3cc9a8861347be2c96cb70adbde2a4f9fac75f;p=oweals%2Fluci.git libs/sgi-uhttpd: Add variable exectime to measure script execution time --- diff --git a/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua b/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua index 7008222bb..f48ad7ef9 100644 --- a/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua +++ b/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua @@ -17,7 +17,7 @@ limitations under the License. ]]-- - +exectime = os.clock() require "nixio.util" require "luci.http" require "luci.sys"