From: jjenista Date: Thu, 16 Sep 2010 18:11:14 +0000 (+0000) Subject: temporarily disabling this coreprof event, it appears to have a significant impact... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2f2e082a8d10b5d3a1371ec250ff0652e52a8918;p=IRC.git 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 --- 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++;