[benchtests] Add workload test properties to schema

Add the workload test properties (max-throughput, latency, etc.) to
the schema to prevent benchmark output validation from failing.

	* benchtests/scripts/benchout.schema.json (properties): Add
	new properties.
This commit is contained in:
Siddhesh Poyarekar 2018-08-11 18:54:46 +05:30
parent 44727aec4f
commit 8cac1f2635
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
* benchtests/scripts/benchout.schema.json (properties): Add
new properties.
* benchtests/bench-skeleton.c (main): Add duration and
iterations attributes.

View File

@ -23,6 +23,10 @@
"max": {"type": "number"},
"min": {"type": "number"},
"mean": {"type": "number"},
"latency": {"type": "number"},
"min-throughput": {"type": "number"},
"max-throughput": {"type": "number"},
"reciprocal-throughput": {"type": "number"},
"timings": {
"type": "array",
"items": {"type": "number"}