diff options
author | Josh Blum | 2013-03-03 20:53:45 -0600 |
---|---|---|
committer | Josh Blum | 2013-03-03 20:53:45 -0600 |
commit | 96142291f4ed6e60cec142863a2163c931202010 (patch) | |
tree | cb3d2cf14cc7e62a30417e0871f3b980a62b1be3 /python/gras/stats/registry.js | |
parent | a8d2f5e32fee06f0ddecb618878ac9e2c0cbd169 (diff) | |
download | sandhi-96142291f4ed6e60cec142863a2163c931202010.tar.gz sandhi-96142291f4ed6e60cec142863a2163c931202010.tar.bz2 sandhi-96142291f4ed6e60cec142863a2163c931202010.zip |
stats: work on config controls
Diffstat (limited to 'python/gras/stats/registry.js')
-rw-r--r-- | python/gras/stats/registry.js | 11 |
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) |