summaryrefslogtreecommitdiff
path: root/python/gras/stats/registry.js
diff options
context:
space:
mode:
Diffstat (limited to 'python/gras/stats/registry.js')
-rw-r--r--python/gras/stats/registry.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/gras/stats/registry.js b/python/gras/stats/registry.js
index 4b5f2e2..197f874 100644
--- a/python/gras/stats/registry.js
+++ b/python/gras/stats/registry.js
@@ -1,4 +1,13 @@
/***********************************************************************
+ * Per block registry data structure
+ **********************************************************************/
+var GrasBlockRegistry = function(id)
+{
+ this.id = id;
+ this.enabled = true;
+}
+
+/***********************************************************************
* Stats registry data structure
**********************************************************************/
var GrasStatsRegistry = function()
@@ -6,6 +15,8 @@ var GrasStatsRegistry = function()
this.ids = new Array();
this.enables = new Array();
this.history = new Array();
+ this.overall_rate = 2.0;
+ this.overall_active = true;
}
GrasStatsRegistry.prototype.appendPoint = function(point)