From 121a609ed2cadd50e5e85093e2ac524bdd279d02 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 10 May 2013 00:00:47 -0700 Subject: gras: added more theron counters + query work --- python/gras/query/CMakeLists.txt | 4 +- python/gras/query/chart_allocator_counts.js | 52 -------------------- python/gras/query/chart_factory.js | 4 +- python/gras/query/chart_global_counters.js | 58 ++++++++++++++++++++++ python/gras/query/chart_port_counters.js | 76 +++++++++++++++++++++++++++++ python/gras/query/chart_total_io_counts.js | 72 --------------------------- python/gras/query/main.css | 4 +- python/gras/query/main.html | 4 +- 8 files changed, 142 insertions(+), 132 deletions(-) delete mode 100644 python/gras/query/chart_allocator_counts.js create mode 100644 python/gras/query/chart_global_counters.js create mode 100644 python/gras/query/chart_port_counters.js delete mode 100644 python/gras/query/chart_total_io_counts.js (limited to 'python') diff --git a/python/gras/query/CMakeLists.txt b/python/gras/query/CMakeLists.txt index a448068..2758d11 100644 --- a/python/gras/query/CMakeLists.txt +++ b/python/gras/query/CMakeLists.txt @@ -19,8 +19,8 @@ INSTALL( chart_overhead_compare.js chart_overall_throughput.js chart_handler_breakdown.js - chart_total_io_counts.js - chart_allocator_counts.js + chart_port_counters.js + chart_global_counters.js main.css DESTINATION ${GR_PYTHON_DIR}/gras/query COMPONENT ${GRAS_COMP_PYTHON} diff --git a/python/gras/query/chart_allocator_counts.js b/python/gras/query/chart_allocator_counts.js deleted file mode 100644 index 5219672..0000000 --- a/python/gras/query/chart_allocator_counts.js +++ /dev/null @@ -1,52 +0,0 @@ -function GrasChartAllocatorCounts(args, panel) -{ - //input checking - if (args.block_ids.length != 0) throw gras_error_dialog( - "GrasChartAllocatorCounts", - "Error making allocator counts chart.\n"+ - "Do not specify any blocks for this chart." - ); - - //settings - this.div = $('
').attr({class:'chart_total_io_counts'}); - $(panel).append(this.div); - this.title = "Theron allocator counts" -} - -GrasChartAllocatorCounts.prototype.update = function(point) -{ - var ul = $('