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