[Assorted-commits] SF.net SVN: assorted: [624] numa-bench/trunk/src/chew.cc
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-03-13 16:29:28
|
Revision: 624 http://assorted.svn.sourceforge.net/assorted/?rev=624&view=rev Author: yangzhang Date: 2008-03-13 09:13:33 -0700 (Thu, 13 Mar 2008) Log Message: ----------- fixed no-par/barrier bug Modified Paths: -------------- numa-bench/trunk/src/chew.cc Modified: numa-bench/trunk/src/chew.cc =================================================================== --- numa-bench/trunk/src/chew.cc 2008-03-13 15:53:06 UTC (rev 623) +++ numa-bench/trunk/src/chew.cc 2008-03-13 16:13:33 UTC (rev 624) @@ -228,7 +228,7 @@ cout << worker << " alloc " << p << endl; check(pthread_mutex_unlock(&iomutex) == 0); } - if (!warmup) { + if (!warmup && config.par) { int barrier_result = pthread_barrier_wait(&startup_barrier); check(barrier_result == PTHREAD_BARRIER_SERIAL_THREAD || barrier_result == 0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |