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