summaryrefslogtreecommitdiff
path: root/lualibs-trac-inf.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-05-04 23:10:29 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2015-05-04 23:11:06 +0200
commita79c845dba381f543d09526f77dcf2b4687b73a7 (patch)
tree8c42403a55c9c6736eb491331bfa7f650f807414 /lualibs-trac-inf.lua
parent9c35a373aa8e0edf14b686568fffab0e6969f447 (diff)
downloadlualibs-a79c845dba381f543d09526f77dcf2b4687b73a7.tar.gz
sync with Context as of 2015-05-04
Diffstat (limited to 'lualibs-trac-inf.lua')
-rw-r--r--lualibs-trac-inf.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/lualibs-trac-inf.lua b/lualibs-trac-inf.lua
index 034726f..5497e54 100644
--- a/lualibs-trac-inf.lua
+++ b/lualibs-trac-inf.lua
@@ -207,17 +207,3 @@ function statistics.tracefunction(base,tag,...)
statistics.register(formatters["%s.%s"](tag,name),function() return serialize(stat,"calls") end)
end
end
-
--- where, not really the best spot for this:
-
-commands = commands or { }
-
-function commands.resettimer(name)
- resettiming(name or "whatever")
- starttiming(name or "whatever")
-end
-
-function commands.elapsedtime(name)
- stoptiming(name or "whatever")
- context(elapsedtime(name or "whatever"))
-end