Changeset 566 for trunk/kernel/syscalls/sys_thread_yield.c
- Timestamp:
- Oct 4, 2018, 11:50:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_thread_yield.c
r506 r566 37 37 tm_start = hal_get_cycles(); 38 38 if( DEBUG_SYS_THREAD_YIELD < tm_start ) 39 printk("\n[DBG] %s : thread %x deschedule / process %x/ cycle %d\n",39 printk("\n[DBG] %s : thread %x in process %x deschedule / cycle %d\n", 40 40 __FUNCTION__, CURRENT_THREAD->trdid, CURRENT_THREAD->process->pid, (uint32_t)tm_start ); 41 41 #endif … … 47 47 tm_end = hal_get_cycles(); 48 48 if( DEBUG_SYS_THREAD_YIELD < tm_start ) 49 printk("\n[DBG] %s : thread %x resume / process %x/ cycle %d\n",49 printk("\n[DBG] %s : thread %x in process %x resume / cycle %d\n", 50 50 __FUNCTION__, CURRENT_THREAD->trdid, CURRENT_THREAD->process->pid, (uint32_t)tm_end ); 51 51 #endif
Note: See TracChangeset
for help on using the changeset viewer.