summaryrefslogtreecommitdiff
path: root/python/gras
diff options
context:
space:
mode:
authorJosh Blum2013-02-25 00:14:42 -0800
committerJosh Blum2013-03-03 13:28:23 -0600
commit74068f07350bd5b91d7c4b303673cd813c9b6c52 (patch)
tree01db661d492e554f006a5c13a9265eee04b3299c /python/gras
parent77e829ec2b25844402c0781cb3f85ca8cfd8b182 (diff)
downloadsandhi-74068f07350bd5b91d7c4b303673cd813c9b6c52.tar.gz
sandhi-74068f07350bd5b91d7c4b303673cd813c9b6c52.tar.bz2
sandhi-74068f07350bd5b91d7c4b303673cd813c9b6c52.zip
gras: not much, check in stats work
Diffstat (limited to 'python/gras')
-rw-r--r--python/gras/stats/main.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/gras/stats/main.js b/python/gras/stats/main.js
index 64ea289..4c961da 100644
--- a/python/gras/stats/main.js
+++ b/python/gras/stats/main.js
@@ -44,8 +44,18 @@ var gras_extract_throughput = function(point, id)
return (total_items*tps)/(stats_time-start_time);
}
+var gras_setup_individual_charts = function(point)
+{
+ var charts = $('#individual_charts').get(0);
+ $('block', point).each(function()
+ {
+
+ });
+}
+
var gras_update_throughput_chart = function(history)
{
+ if (history.length == 1) return gras_setup_individual_charts(history[0]);
if (history.length < 2) return;
var ids = gras_extract_block_ids(history[0]);