From 917499f6257ac51c05e8302af877d56a22f28cb5 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Sat, 17 Oct 2020 00:52:09 -0400 Subject: Cleanup in extra.h for non-paired benchmarks - No parameter or output format changes - Better error messages - Auto-detect core - Fix off-by-one error in job counting - Explicitly invoke the scheduler with sched_yield() between jobs so that there's less work to do when (if) the scheduling timer interrupt comes around. (This has a surprisingly significant impact on timings.) --- baseline/source/huff_dec/huff_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'baseline/source/huff_dec') diff --git a/baseline/source/huff_dec/huff_dec.c b/baseline/source/huff_dec/huff_dec.c index 48bdf4b..b83b99d 100644 --- a/baseline/source/huff_dec/huff_dec.c +++ b/baseline/source/huff_dec/huff_dec.c @@ -382,7 +382,7 @@ int main( int argc, char **argv ) //SET_UP int jobsComplete; int maxJobs=5; - for (jobsComplete=-1; jobsComplete