summaryrefslogtreecommitdiff
path: root/tex/context/base/util-you.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-11-15 16:20:14 +0200
committerMarius <mariausol@gmail.com>2013-11-15 16:20:14 +0200
commit29661703c1b94925fe7bf61ee6afdc5f90dad285 (patch)
tree35d4a948e9b17ae36116af140a70c64ef32c9fbf /tex/context/base/util-you.lua
parentd9a614d85581895050fdff04b62ae5def0c1fe5b (diff)
downloadcontext-29661703c1b94925fe7bf61ee6afdc5f90dad285.tar.gz
beta 2013.11.15 15:04
Diffstat (limited to 'tex/context/base/util-you.lua')
-rw-r--r--tex/context/base/util-you.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/util-you.lua b/tex/context/base/util-you.lua
index 0eb87732f..e56db7f76 100644
--- a/tex/context/base/util-you.lua
+++ b/tex/context/base/util-you.lua
@@ -8,6 +8,9 @@ if not modules then modules = { } end modules ['util-you'] = {
-- See mtx-youless.lua and s-youless.mkiv for examples of usage.
+-- todo: already calculate min, max and average per hour and discard
+-- older data, or maybe a condense option
+
require("util-jsn")
-- the library variant:
@@ -130,7 +133,7 @@ function youless.collect(specification)
get(host,"d",0,data,true)
get(host,"w",1,data)
if detail then
- get(host,"h",1,data)
+ get(host,"h",1,data) -- todo: get this for calculating the precise max
end
else
return