Changeset 438 for trunk/kernel/syscalls/sys_fg.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_fg.c
r436 r438 45 45 thread_t * this = CURRENT_THREAD; 46 46 47 #if CONFIG_DEBUG_SYS_FG47 #if DEBUG_SYS_FG 48 48 uint64_t tm_start; 49 49 uint64_t tm_end; 50 50 tm_start = hal_get_cycles(); 51 if( CONFIG_DEBUG_SYS_FG < tm_start )51 if( DEBUG_SYS_FG < tm_start ) 52 52 printk("\n[DBG] %s : thread %x enter / process %x / cycle %d\n", 53 53 __FUNCTION__ , CURRENT_THREAD , pid, (uint32_t)tm_start ); … … 60 60 { 61 61 62 #if CONFIG_DEBUG_SYSCALLS_ERROR62 #if DEBUG_SYSCALLS_ERROR 63 63 printk("\n[ERROR] in %s : process %x not found\n", __FUNCTION__ , pid ); 64 64 #endif … … 83 83 hal_fence(); 84 84 85 #if CONFIG_DEBUG_SYS_FG85 #if DEBUG_SYS_FG 86 86 tm_end = hal_get_cycles(); 87 if( CONFIG_DEBUG_SYS_FG < tm_end )87 if( DEBUG_SYS_FG < tm_end ) 88 88 printk("\n[DBG] %s : thread %x exit / process %x get TXT_%d ownership / cycle %d\n", 89 89 __FUNCTION__ , CURRENT_THREAD , pid,
Note: See TracChangeset
for help on using the changeset viewer.