summaryrefslogtreecommitdiffstats
path: root/hawd_defs/buffer_creation
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-01 21:29:42 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-01 21:29:42 +0100
commit93b406d1914a5512aec6ca737ba8326a21191227 (patch)
tree0f869f201815ae862bc2853de0b2007ff1515bf1 /hawd_defs/buffer_creation
parentae7cc26c8350b427870f83687f83184c2c211250 (diff)
downloadsink-93b406d1914a5512aec6ca737ba8326a21191227.tar.gz
sink-93b406d1914a5512aec6ca737ba8326a21191227.zip
HAWD: Ensure the column order is maintained
By turning the columns into an array instead of an object, we can print the values in the same order as in the definition file. Previosly the order was random, and even headers and values were somtimes mixed up.
Diffstat (limited to 'hawd_defs/buffer_creation')
-rw-r--r--hawd_defs/buffer_creation10
1 files changed, 5 insertions, 5 deletions
diff --git a/hawd_defs/buffer_creation b/hawd_defs/buffer_creation
index 16c1f8c..38426d3 100644
--- a/hawd_defs/buffer_creation
+++ b/hawd_defs/buffer_creation
@@ -1,9 +1,9 @@
1{ 1{
2 "name": "Buffer Creation", 2 "name": "Buffer Creation",
3 "description": "Tests how fast buffer creation is", 3 "description": "Tests how fast buffer creation is",
4 "columns": { 4 "columns": [
5 "numBuffers": { "type": "int" }, 5 { "name: "numBuffers", "type": "int" },
6 "time": { "type": "int", "unit": "ms", "min": 0, "max": 100 }, 6 { "name: "time", "type": "int", "unit": "ms", "min": 0, "max": 100 },
7 "ops": { "type": "float", "unit": "ops/ms" } 7 { "name: "ops", "type": "float", "unit": "ops/ms" }
8 } 8 ]
9} 9}