diff options
author | Josh Blum | 2013-03-03 22:42:38 -0600 |
---|---|---|
committer | Josh Blum | 2013-03-03 22:42:38 -0600 |
commit | 8c3598fc29cb11a34196082b11f639467912a4f9 (patch) | |
tree | 1559162b37902e881402d1de3c4a494ad940d1d8 /python/gras/stats/registry.js | |
parent | 96142291f4ed6e60cec142863a2163c931202010 (diff) | |
download | sandhi-8c3598fc29cb11a34196082b11f639467912a4f9.tar.gz sandhi-8c3598fc29cb11a34196082b11f639467912a4f9.tar.bz2 sandhi-8c3598fc29cb11a34196082b11f639467912a4f9.zip |
stats: enables for the individual blocks
Diffstat (limited to 'python/gras/stats/registry.js')
-rw-r--r-- | python/gras/stats/registry.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/python/gras/stats/registry.js b/python/gras/stats/registry.js index 197f874..04e74b7 100644 --- a/python/gras/stats/registry.js +++ b/python/gras/stats/registry.js @@ -1,13 +1,4 @@ /*********************************************************************** - * Per block registry data structure - **********************************************************************/ -var GrasBlockRegistry = function(id) -{ - this.id = id; - this.enabled = true; -} - -/*********************************************************************** * Stats registry data structure **********************************************************************/ var GrasStatsRegistry = function() @@ -15,6 +6,7 @@ var GrasStatsRegistry = function() this.ids = new Array(); this.enables = new Array(); this.history = new Array(); + this.block_enables = new Array(); this.overall_rate = 2.0; this.overall_active = true; } |