From d17b33131c14864bd1eae275f49a3f148e21cf29 Mon Sep 17 00:00:00 2001 From: Leo Chan Date: Thu, 22 Oct 2020 01:53:21 -0400 Subject: Squashed commit of the sb-vbs branch. Includes the SD-VBS benchmarks modified to: - Use libextra to loop as realtime jobs - Preallocate memory before starting their main computation - Accept input via stdin instead of via argc Does not include the SD-VBS matlab code. Fixes libextra execution in LITMUS^RT. --- SD-VBS/benchmarks/localization/data/sqcif/1.txt | 7 +++++++ SD-VBS/benchmarks/localization/data/sqcif/Makefile | 8 ++++++++ SD-VBS/benchmarks/localization/data/sqcif/expected.m | 3 +++ SD-VBS/benchmarks/localization/data/sqcif/expected_C.txt | 3 +++ 4 files changed, 21 insertions(+) create mode 100644 SD-VBS/benchmarks/localization/data/sqcif/1.txt create mode 100644 SD-VBS/benchmarks/localization/data/sqcif/Makefile create mode 100644 SD-VBS/benchmarks/localization/data/sqcif/expected.m create mode 100644 SD-VBS/benchmarks/localization/data/sqcif/expected_C.txt (limited to 'SD-VBS/benchmarks/localization/data/sqcif') diff --git a/SD-VBS/benchmarks/localization/data/sqcif/1.txt b/SD-VBS/benchmarks/localization/data/sqcif/1.txt new file mode 100644 index 0000000..1d1df28 --- /dev/null +++ b/SD-VBS/benchmarks/localization/data/sqcif/1.txt @@ -0,0 +1,7 @@ +5 5 +1116844391.040066 4 4422626.016689 483672.632936 33.995049 +-0.000663 -0.000692 0.021303 9.463761 21.130848 +1116844391.227129 3 -0.093291 0.256632 9.634049 +1116844391.227129 2 0.010578 -0.007365 -0.001416 +1116844391.227168 1 -0.000000 0.000000 0.000000 + diff --git a/SD-VBS/benchmarks/localization/data/sqcif/Makefile b/SD-VBS/benchmarks/localization/data/sqcif/Makefile new file mode 100644 index 0000000..496053b --- /dev/null +++ b/SD-VBS/benchmarks/localization/data/sqcif/Makefile @@ -0,0 +1,8 @@ +include ../../../../common/makefiles/Makefile.include + +BMARK=localization +INPUT=sqcif + +include $(MAKEFILE_COMMON_DIR)/Makefile.common + + diff --git a/SD-VBS/benchmarks/localization/data/sqcif/expected.m b/SD-VBS/benchmarks/localization/data/sqcif/expected.m new file mode 100644 index 0000000..ec25c0d --- /dev/null +++ b/SD-VBS/benchmarks/localization/data/sqcif/expected.m @@ -0,0 +1,3 @@ +1011.303794 817.965338 52.925944 1061.980393 0.000000 +118.818062 154080.851618 154080.851618 1652.527205 0.000000 +3926083200.206786 3980824114.940394 3980824114.940394 3925922636.742242 0.000000 diff --git a/SD-VBS/benchmarks/localization/data/sqcif/expected_C.txt b/SD-VBS/benchmarks/localization/data/sqcif/expected_C.txt new file mode 100644 index 0000000..512ae28 --- /dev/null +++ b/SD-VBS/benchmarks/localization/data/sqcif/expected_C.txt @@ -0,0 +1,3 @@ +1011.299988 817.979980 52.925732 1061.985840 1061.985840 +118.815742 154081.015625 154081.015625 1652.578247 1652.578247 +3926005760.000000 3980813312.000000 3980813312.000000 3925854720.000000 3925854720.000000 -- cgit v1.2.2