From 2f2e082a8d10b5d3a1371ec250ff0652e52a8918 Mon Sep 17 00:00:00 2001 From: jjenista Date: Thu, 16 Sep 2010 18:11:14 +0000 Subject: [PATCH] temporarily disabling this coreprof event, it appears to have a significant impact compared to system overhead, only put back in when we really need it --- Robust/src/Runtime/workschedule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Robust/src/Runtime/workschedule.c b/Robust/src/Runtime/workschedule.c index 305a2a4e..723ab190 100644 --- a/Robust/src/Runtime/workschedule.c +++ b/Robust/src/Runtime/workschedule.c @@ -79,7 +79,7 @@ void* workerMain( void* arg ) { while( 1 ) { // wait for work - CP_LOGEVENT( CP_EVENTID_WORKSCHEDGRAB, CP_EVENTTYPE_BEGIN ); + //CP_LOGEVENT( CP_EVENTID_WORKSCHEDGRAB, CP_EVENTTYPE_BEGIN ); haveWork = FALSE; while( !haveWork ) { pthread_mutex_lock( &systemLockOut ); @@ -96,7 +96,7 @@ void* workerMain( void* arg ) { workUnit = headqi->value; pthread_mutex_unlock( &systemLockOut ); free( tmp ); - CP_LOGEVENT( CP_EVENTID_WORKSCHEDGRAB, CP_EVENTTYPE_END ); + //CP_LOGEVENT( CP_EVENTID_WORKSCHEDGRAB, CP_EVENTTYPE_END ); pthread_mutex_lock(&gclistlock); threadcount++; -- 2.34.1