Changeset 459 for trunk/kernel/syscalls/sys_read.c
- Timestamp:
- Aug 13, 2018, 1:43:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_read.c
r457 r459 72 72 tm_start = hal_get_cycles(); 73 73 if( DEBUG_SYS_READ < tm_start ) 74 printk("\n[DBG] %s : thread %x enter / process %x / vaddr =%x / count %d / cycle %d\n",75 __FUNCTION__, this , process->pid, vaddr, count, (uint32_t)tm_start );74 printk("\n[DBG] %s : thread %x in process %x enter / vaddr %x / count %d / cycle %d\n", 75 __FUNCTION__, this->trdid, process->pid, vaddr, count, (uint32_t)tm_start ); 76 76 #endif 77 77 … … 231 231 tm_end = hal_get_cycles(); 232 232 if( DEBUG_SYS_READ < tm_end ) 233 printk("\n[DBG] %s : thread %x exit / process %x/ cycle %d\n"234 "nbytes = %d / file_id = %d / cost =%d\n",235 __FUNCTION__ , this , process->pid,233 printk("\n[DBG] %s : thread %x in process %x exit / cycle %d\n" 234 "nbytes %d / file_id %d / cost %d\n", 235 __FUNCTION__ , this->trdid, process->pid, 236 236 (uint32_t)tm_start , nbytes , file_id , (uint32_t)(tm_end - tm_start) ); 237 237 #endif
Note: See TracChangeset
for help on using the changeset viewer.