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/test/1.txt | 7 +++++++ SD-VBS/benchmarks/localization/data/test/Makefile | 8 ++++++++ SD-VBS/benchmarks/localization/data/test/expected.m | 3 +++ SD-VBS/benchmarks/localization/data/test/expected_C.txt | 3 +++ 4 files changed, 21 insertions(+) create mode 100644 SD-VBS/benchmarks/localization/data/test/1.txt create mode 100644 SD-VBS/benchmarks/localization/data/test/Makefile create mode 100644 SD-VBS/benchmarks/localization/data/test/expected.m create mode 100644 SD-VBS/benchmarks/localization/data/test/expected_C.txt (limited to 'SD-VBS/benchmarks/localization/data/test') diff --git a/SD-VBS/benchmarks/localization/data/test/1.txt b/SD-VBS/benchmarks/localization/data/test/1.txt new file mode 100644 index 0000000..1d1df28 --- /dev/null +++ b/SD-VBS/benchmarks/localization/data/test/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/test/Makefile b/SD-VBS/benchmarks/localization/data/test/Makefile new file mode 100644 index 0000000..c997c9b --- /dev/null +++ b/SD-VBS/benchmarks/localization/data/test/Makefile @@ -0,0 +1,8 @@ +include ../../../../common/makefiles/Makefile.include + +BMARK=localization +INPUT=test + +include $(MAKEFILE_COMMON_DIR)/Makefile.common + + diff --git a/SD-VBS/benchmarks/localization/data/test/expected.m b/SD-VBS/benchmarks/localization/data/test/expected.m new file mode 100644 index 0000000..d64ef46 --- /dev/null +++ b/SD-VBS/benchmarks/localization/data/test/expected.m @@ -0,0 +1,3 @@ +3.685028 3.432348 3.380028 3.349426 0.000000 +0.570000 6.035935 6.035935 4.771188 0.000000 +14719241.537176 14719192.900190 14719192.900190 14719192.267816 0.000000 diff --git a/SD-VBS/benchmarks/localization/data/test/expected_C.txt b/SD-VBS/benchmarks/localization/data/test/expected_C.txt new file mode 100644 index 0000000..954cf98 --- /dev/null +++ b/SD-VBS/benchmarks/localization/data/test/expected_C.txt @@ -0,0 +1,3 @@ +3.685029 3.432348 3.380028 3.349426 3.349426 +0.570000 6.035936 6.035936 4.771189 4.771189 +14719244.000000 14719194.000000 14719194.000000 14719194.000000 14719194.000000 -- cgit v1.2.2