comparison MasterLoop.c @ 206:a262abf4b8d5

brch file for new WestmereEx 4x10 HW Branch
author Merten Sach <msach@mailbox.tu-berlin.de>
date Fri, 17 Feb 2012 18:43:52 +0100
parents c3f458403cd6
children fb75c4b52d32
comparison
equal deleted inserted replaced
46:5a7513d1bdea 54:0a014ebbca35
104 104
105 requestHandler = masterEnv->requestHandler; 105 requestHandler = masterEnv->requestHandler;
106 slaveScheduler = masterEnv->slaveScheduler; 106 slaveScheduler = masterEnv->slaveScheduler;
107 semanticEnv = masterEnv->semanticEnv; 107 semanticEnv = masterEnv->semanticEnv;
108 108
109 //masterLoopStartPt:
110 while(1){ //switch to core_loop and back to here is at end of loop 109 while(1){ //switch to core_loop and back to here is at end of loop
111 110
112 //============================= MEASUREMENT STUFF ======================= 111 //============================= MEASUREMENT STUFF =======================
113 #ifdef MEAS__TIME_MASTER 112 #ifdef MEAS__TIME_MASTER
114 //Total Master time includes one coreloop time -- just assume the core 113 //Total Master time includes one coreloop time -- just assume the core
118 #endif 117 #endif
119 //======================================================================= 118 //=======================================================================
120 119
121 120
122 //Poll each slot's Done flag 121 //Poll each slot's Done flag
123 numSlotsFilled = 0; 122 numSlotsFilled = 0;
124 /* 123 /*
125 Meas_startMasterLoop 124 Meas_startMasterLoop
126 */ 125 */
127 for( slotIdx = 0; slotIdx < NUM_SCHED_SLOTS; slotIdx++) 126 for( slotIdx = 0; slotIdx < NUM_SCHED_SLOTS; slotIdx++)
128 { 127 {
129 currSlot = schedSlots[ slotIdx ]; 128 currSlot = schedSlots[ slotIdx ];
130 129
131 if( currSlot->workIsDone ) 130 if( currSlot->workIsDone )