#endif // GC_CACHE_ADAPT
#endif // #ifdef MULTICORE_GC
-void processmg_req_notify_start() {
+void processmsg_req_notify_start() {
startflag=true;
if(BAMBOO_CHECK_SEND_MODE()) {
cache_msg_1_I(STARTUPCORE,NOTIFYSTART);
}
}
-void processmg_notify_start() {
+void processmsg_notify_start() {
numconfirm--;
}
bool tocontinue = false;
startflag = false;
corenum = BAMBOO_GET_NUM_OF_CORE();
-
// initialize runtime data structures
initruntimedata();
initCommunication();
numconfirm=NUMCORES-1;
for(int i=0;i<NUMCORES;i++) {
if (i!=STARTUPCORE) {
- send_msg_1(STARTUPCORE,REQ_NOTIFY_START);
+ send_msg_1(i,REQNOTIFYSTART);
}
}
while(numconfirm!=0)
;
+ tprintf("start! \n");
+ bamboo_start_time = BAMBOO_GET_EXE_TIME();
} else {
while(!startflag)
;