Changeset 438 for trunk/kernel/syscalls/sys_display.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_display.c
r436 r438 38 38 { 39 39 40 #if CONFIG_DEBUG_SYS_DISPLAY40 #if DEBUG_SYS_DISPLAY 41 41 uint64_t tm_start; 42 42 uint64_t tm_end; … … 44 44 this = CURRENT_THREAD; 45 45 tm_start = hal_get_cycles(); 46 if( CONFIG_DEBUG_SYS_DISPLAY < tm_start )46 if( DEBUG_SYS_DISPLAY < tm_start ) 47 47 printk("\n[DBG] %s : thread %d enter / process %x / type %d / cycle = %d\n", 48 48 __FUNCTION__, this, this->process->pid, type, (uint32_t)tm_start ); … … 183 183 } 184 184 185 #if CONFIG_DEBUG_SYS_DISPLAY185 #if DEBUG_SYS_DISPLAY 186 186 tm_end = hal_get_cycles(); 187 if( CONFIG_DEBUG_SYS_DISPLAY < tm_end )187 if( DEBUG_SYS_DISPLAY < tm_end ) 188 188 printk("\n[DBG] %s : thread %x exit / process %x / cost = %d / cycle %d\n", 189 189 __FUNCTION__, this, this->process->pid, (uint32_t)(tm_end - tm_start) , (uint32_t)tm_end );
Note: See TracChangeset
for help on using the changeset viewer.