Changeset 441 for trunk/kernel/syscalls/sys_write.c
- Timestamp:
- May 9, 2018, 3:13:56 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_write.c
r440 r441 184 184 if( DEBUG_SYS_WRITE < tm_end ) 185 185 printk("\n[DBG] %s : thread %x exit / process %x / cycle %d\n" 186 "nbytes = %d / fi rst byte = %c / file_id = %d / cost = %d\n",186 "nbytes = %d / file_id = %d / cost = %d\n", 187 187 __FUNCTION__, this, process->pid, (uint32_t)tm_start, 188 nbytes, *((char *)(intptr_t)paddr) ,file_id , (uint32_t)(tm_end - tm_start) );188 nbytes, file_id , (uint32_t)(tm_end - tm_start) ); 189 189 #endif 190 190 … … 192 192 exit_sys_write = (uint32_t)tm_end; 193 193 194 printk("\n@@@@@@@@@@@@ timing to write string %c\n"194 printk("\n@@@@@@@@@@@@ timing to write\n" 195 195 " - enter_sys_write = %d / delta %d\n" 196 196 " - enter_devfs_write = %d / delta %d\n" … … 207 207 " - exit_devfs_write = %d / delta %d\n" 208 208 " - exit_sys_write = %d / delta %d\n", 209 *((char *)(intptr_t)paddr) ,210 209 enter_sys_write , 0 , 211 210 enter_devfs_write , enter_devfs_write - enter_sys_write ,
Note: See TracChangeset
for help on using the changeset viewer.