Changeset 693 for soft/giet_vm/giet_libs/user_barrier.c
- Timestamp:
- Aug 5, 2015, 6:46:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/user_barrier.c
r588 r693 35 35 unsigned int p; 36 36 giet_proc_xyp( &x, &y, &p ); 37 giet_ shr_printf("\n[DEBUG USER BARRIER] proc[%d,%d,%d] enters barrier_wait()\n",37 giet_tty_printf("\n[DEBUG USER BARRIER] proc[%d,%d,%d] enters barrier_wait()\n", 38 38 x, y, p ); 39 39 #endif … … 85 85 86 86 #if GIET_DEBUG_USER_BARRIER 87 giet_ shr_printf("\n[DEBUG USER BARRIER] proc[%d,%d,%d] exit barrier_wait()\n",87 giet_tty_printf("\n[DEBUG USER BARRIER] proc[%d,%d,%d] exit barrier_wait()\n", 88 88 x, y, p ); 89 89 #endif … … 126 126 127 127 #if GIET_DEBUG_USER_BARRIER 128 giet_ shr_printf("\n[DEBUG USER BARRIER] initialize sqt_node[%d][%d][%d] : arity = %d\n"128 giet_tty_printf("\n[DEBUG USER BARRIER] initialize sqt_node[%d][%d][%d] : arity = %d\n" 129 129 " parent = %x / child0 = %x / child1 = %x / child2 = %x / child3 = %x\n", 130 130 x, y, level, node->arity, … … 175 175 176 176 #if GIET_DEBUG_USER_BARRIER 177 giet_ shr_printf("\n[DEBUG USER BARRIER] initialize sqt_node[%d][%d][%d] : arity = %d\n"177 giet_tty_printf("\n[DEBUG USER BARRIER] initialize sqt_node[%d][%d][%d] : arity = %d\n" 178 178 " parent = %x / child0 = %x / child1 = %x / child0 = %x / child1 = %x\n", 179 179 x, y, level, node->arity, … … 220 220 unsigned int side; 221 221 side = (z < 2) ? 1 : (z < 3) ? 2 : (z < 5) ? 4 : (z < 9) ? 8 : 16; 222 giet_ shr_printf("\n[DEBUG USER BARRIER] sqt_nodes allocation\n"222 giet_tty_printf("\n[DEBUG USER BARRIER] sqt_nodes allocation\n" 223 223 " x_size = %d / y_size = %d / levels = %d / side = %d\n", 224 224 x_size , y_size , levels , side ); … … 248 248 249 249 #if GIET_DEBUG_USER_BARRIER 250 giet_ shr_printf("\n[DEBUG USER BARRIER] SQT node[%d][%d][%d] : vaddr = %x\n",250 giet_tty_printf("\n[DEBUG USER BARRIER] SQT node[%d][%d][%d] : vaddr = %x\n", 251 251 x, y, l, (unsigned int)barrier->node[x][y][l] ); 252 252 #endif … … 285 285 unsigned int pl; 286 286 giet_proc_xyp( &px, &py, &pl ); 287 giet_ shr_printf("\n[DEBUG USER BARRIER] P[%d,%d,%d] decrement SQT barrier node %x :\n"287 giet_tty_printf("\n[DEBUG USER BARRIER] P[%d,%d,%d] decrement SQT barrier node %x :\n" 288 288 " level = %d / parent = %x / arity = %d / sense = %d / count = %d\n", 289 289 px , py , pl , (unsigned int)node , … … 326 326 327 327 #if GIET_DEBUG_USER_BARRIER 328 giet_ shr_printf("\n[DEBUG USER BARRIER] P[%d,%d,%d] reset SQT barrier node %x :\n"328 giet_tty_printf("\n[DEBUG USER BARRIER] P[%d,%d,%d] reset SQT barrier node %x :\n" 329 329 " level = %d / arity = %d / sense = %d / count = %d\n", 330 330 px , py , pl , (unsigned int)node , … … 358 358 giet_proc_xyp( &x, &y, &lpid ); 359 359 #if GIET_DEBUG_USER_BARRIER 360 giet_ shr_printf("[DEBUG SQT USER BARRIER] proc[%d,%d,%d] enters sqt_barrier_wait(). vaddr=%x. node=%x\n",360 giet_tty_printf("[DEBUG SQT USER BARRIER] proc[%d,%d,%d] enters sqt_barrier_wait(). vaddr=%x. node=%x\n", 361 361 x, y, lpid, barrier, barrier->node[x][y][0] ); 362 362 #endif
Note: See TracChangeset
for help on using the changeset viewer.