Changeset 566 for trunk/kernel/syscalls/sys_thread_exit.c
- Timestamp:
- Oct 4, 2018, 11:50:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_thread_exit.c
r506 r566 62 62 tm_start = hal_get_cycles(); 63 63 if( DEBUG_SYS_THREAD_EXIT < tm_start ) 64 printk("\n[DBG] %s : thread %x enter / process %x/ cycle %d\n",65 __FUNCTION__ , this , pid , (uint32_t)tm_start );64 printk("\n[DBG] %s : thread %x in process %x enter / cycle %d\n", 65 __FUNCTION__ , this->trdid, pid , (uint32_t)tm_start ); 66 66 #endif 67 67 … … 98 98 tm_end = hal_get_cycles(); 99 99 if( DEBUG_SYS_THREAD_EXIT < tm_end ) 100 printk("\n[DBG] %s : thread %x exit / process %x/ cost %d / cycle %d\n",101 __FUNCTION__, this , pid, (uint32_t)(tm_end - tm_start), (uint32_t)tm_end );100 printk("\n[DBG] %s : thread %x in process %x exit / cost %d / cycle %d\n", 101 __FUNCTION__, this->trdid, pid, (uint32_t)(tm_end - tm_start), (uint32_t)tm_end ); 102 102 #endif 103 103
Note: See TracChangeset
for help on using the changeset viewer.