From 163c440444c74a4e0bbe0a8db3d1ca725413994b Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 22 Oct 2020 03:17:31 -0400 Subject: Make SD-VBS compatible with run_bench.sh and cleanup SD-VBS: - Run silently - Fix some whitespace errors - Don't duplicate extra.h - Auto-detect if building with LITMUS-RT - Disable result checking - Add helper symlinks Misc: - Remove unused code from libextra - Set some missing rt_param fields in libextra - Disable CSV info dump from computeSMTslowdown.sh - Widen scope of .gitignore on .txt files - Include list of 2MB DIS pair benchmarks and inputs --- SD-VBS/benchmarks/tracking/src/c/script_tracking.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'SD-VBS/benchmarks/tracking/src/c/script_tracking.c') diff --git a/SD-VBS/benchmarks/tracking/src/c/script_tracking.c b/SD-VBS/benchmarks/tracking/src/c/script_tracking.c index bb48ace..2938126 100644 --- a/SD-VBS/benchmarks/tracking/src/c/script_tracking.c +++ b/SD-VBS/benchmarks/tracking/src/c/script_tracking.c @@ -96,19 +96,16 @@ int main(int argc, char* argv[]) for(count=1; count<=counter; count++) { /** Read image **/ - printf("Input image %d: ", count); - scanf("%s", im1); + scanf("%s", im1); images[count - 1] = readImage(im1); - if(count == 1) Ic = readImage(im1); + if(count == 1) Ic = readImage(im1); } rows = Ic->height; cols = Ic->width; - printf("start\n"); - for_each_job{ - + for_each_job { /** IMAGE PRE-PROCESSING **/ /** Blur the image to remove noise - weighted avergae filter **/ @@ -230,8 +227,8 @@ int main(int argc, char* argv[]) fFreeHandle(newpoints); } } - printf("end..\n"); -#ifdef CHECK + +#ifdef CHECK /* Self checking */ { int ret=0; -- cgit v1.2.2