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/epic/epic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'baseline/source/epic') diff --git a/baseline/source/epic/epic.c b/baseline/source/epic/epic.c index 13ba442..e258a4a 100644 --- a/baseline/source/epic/epic.c +++ b/baseline/source/epic/epic.c @@ -1130,7 +1130,7 @@ int epic_return(){ int main( int argc, char **argv ) { SET_UP - for (jobsComplete=-1; jobsComplete