diff options
author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 03:17:31 -0400 |
---|---|---|
committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 03:17:31 -0400 |
commit | 163c440444c74a4e0bbe0a8db3d1ca725413994b (patch) | |
tree | d4eaf9f407be042811f26dfb2613ff1c99966289 /SD-VBS/benchmarks/tracking/src | |
parent | d17b33131c14864bd1eae275f49a3f148e21cf29 (diff) |
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
Diffstat (limited to 'SD-VBS/benchmarks/tracking/src')
-rw-r--r-- | SD-VBS/benchmarks/tracking/src/c/script_tracking.c | 13 |
1 files changed, 5 insertions, 8 deletions
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[]) | |||
96 | for(count=1; count<=counter; count++) | 96 | for(count=1; count<=counter; count++) |
97 | { | 97 | { |
98 | /** Read image **/ | 98 | /** Read image **/ |
99 | printf("Input image %d: ", count); | 99 | scanf("%s", im1); |
100 | scanf("%s", im1); | ||
101 | images[count - 1] = readImage(im1); | 100 | images[count - 1] = readImage(im1); |
102 | if(count == 1) Ic = readImage(im1); | 101 | if(count == 1) Ic = readImage(im1); |
103 | } | 102 | } |
104 | 103 | ||
105 | 104 | ||
106 | rows = Ic->height; | 105 | rows = Ic->height; |
107 | cols = Ic->width; | 106 | cols = Ic->width; |
108 | 107 | ||
109 | printf("start\n"); | 108 | for_each_job { |
110 | for_each_job{ | ||
111 | |||
112 | /** IMAGE PRE-PROCESSING **/ | 109 | /** IMAGE PRE-PROCESSING **/ |
113 | 110 | ||
114 | /** Blur the image to remove noise - weighted avergae filter **/ | 111 | /** Blur the image to remove noise - weighted avergae filter **/ |
@@ -230,8 +227,8 @@ int main(int argc, char* argv[]) | |||
230 | fFreeHandle(newpoints); | 227 | fFreeHandle(newpoints); |
231 | } | 228 | } |
232 | } | 229 | } |
233 | printf("end..\n"); | 230 | |
234 | #ifdef CHECK | 231 | #ifdef CHECK |
235 | /* Self checking */ | 232 | /* Self checking */ |
236 | { | 233 | { |
237 | int ret=0; | 234 | int ret=0; |