Changeset 798 for soft/giet_vm/giet_drivers/bdv_driver.c
- Timestamp:
- Mar 2, 2016, 3:08:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/bdv_driver.c
r728 r798 253 253 unsigned int ltid = (_bdv_trdid ) & 0xFF; 254 254 255 // Reset NORUN_MASK_IOC bit 255 // Reset NORUN_MASK_IOC bit 256 256 static_scheduler_t* psched = (static_scheduler_t*)_schedulers[x][y][p]; 257 257 unsigned int* ptr = &psched->context[ltid].slot[CTX_NORUN_ID]; … … 263 263 0 ); // don't force context switch 264 264 265 #if GIET_DEBUG_IOC 266 unsigned int pid = _get_procid();267 unsigned int c_x = pid >> (Y_WIDTH + P_WIDTH);268 unsigned int c_y = (pid >> P_WIDTH) & ((1<<Y_WIDTH)-1);269 unsigned int c_p = pid & ((1<<P_WIDTH)-1);270 if ( _get_proctime() > GIET_DEBUG_IOC )271 _printf("\n[BDV DEBUG] Processor[%d,%d,%d] enters _bdv_isr() at cycle %d\n"272 " for thread %d running on P[%d,%d,%d] / bdv_status = %x\n",273 c_x , c_y , c_p , _get_proctime() ,274 ltid , x , y , p , status );265 #if GIET_DEBUG_IOC 266 unsigned int pid = _get_procid(); 267 unsigned int c_x = pid >> (Y_WIDTH + P_WIDTH); 268 unsigned int c_y = (pid >> P_WIDTH) & ((1<<Y_WIDTH)-1); 269 unsigned int c_p = pid & ((1<<P_WIDTH)-1); 270 if ( _get_proctime() > GIET_DEBUG_IOC ) 271 _printf("\n[BDV DEBUG] Processor[%d,%d,%d] enters _bdv_isr() at cycle %d\n" 272 " for thread %d running on P[%d,%d,%d] / bdv_status = %x\n", 273 c_x , c_y , c_p , _get_proctime() , 274 ltid , x , y , p , status ); 275 275 #endif 276 276
Note: See TracChangeset
for help on using the changeset viewer.