libs/sgi-uhttpd: Add variable exectime to measure script execution time
authorManuel Munz <freifunk@somakoma.de>
Wed, 15 Dec 2010 00:42:56 +0000 (00:42 +0000)
committerManuel Munz <freifunk@somakoma.de>
Wed, 15 Dec 2010 00:42:56 +0000 (00:42 +0000)
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua

index 7008222bb7e36ca515ac147ca4f3a9cc11361130..f48ad7ef9bd827bf7107134aa654a1eaa0819277 100644 (file)
@@ -17,7 +17,7 @@ limitations under the License.
 
 ]]--
 
-
+exectime = os.clock()
 require "nixio.util"
 require "luci.http"
 require "luci.sys"