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/mpeg2/mpeg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'baseline/source/mpeg2/mpeg2.c') diff --git a/baseline/source/mpeg2/mpeg2.c b/baseline/source/mpeg2/mpeg2.c index e89e1f9..a810744 100644 --- a/baseline/source/mpeg2/mpeg2.c +++ b/baseline/source/mpeg2/mpeg2.c @@ -13206,7 +13206,7 @@ void _Pragma ( "entrypoint" ) mpeg2_main( void ) int main( int argc, char **argv ) { SET_UP - for (jobsComplete=-1; jobsComplete