projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
406531a
)
libs/sgi-uhttpd: Add variable exectime to measure script execution time
author
Manuel Munz
<freifunk@somakoma.de>
Wed, 15 Dec 2010 00:42:56 +0000
(
00:42
+0000)
committer
Manuel Munz
<freifunk@somakoma.de>
Wed, 15 Dec 2010 00:42:56 +0000
(
00:42
+0000)
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
patch
|
blob
|
history
diff --git
a/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
b/libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
index 7008222bb7e36ca515ac147ca4f3a9cc11361130..f48ad7ef9bd827bf7107134aa654a1eaa0819277 100644
(file)
--- 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"