Changeset 406 for trunk/kernel/kern/thread.c
- Timestamp:
- Aug 29, 2017, 12:03:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/thread.c
r374 r406 221 221 vseg_t * vseg; // stack vseg 222 222 223 thread_dmsg("\n[ INFO] %s : enters for process %x\n", __FUNCTION__ , pid );223 thread_dmsg("\n[DMSG] %s : enters for process %x\n", __FUNCTION__ , pid ); 224 224 225 225 // get process descriptor local copy … … 311 311 } 312 312 313 thread_dmsg("\n[ INFO] %s : exit / trdid = %x / process %x / core = %d\n",313 thread_dmsg("\n[DMSG] %s : exit / trdid = %x / process %x / core = %d\n", 314 314 __FUNCTION__ , thread->trdid , process->pid , core_lid ); 315 315 … … 328 328 vseg_t * vseg; // stack vseg 329 329 330 thread_dmsg("\n[ INFO] %s : enters\n", __FUNCTION__ );330 thread_dmsg("\n[DMSG] %s : enters\n", __FUNCTION__ ); 331 331 332 332 // allocate a stack from local VMM … … 398 398 } 399 399 400 thread_dmsg("\n[ INFO] %s : exit / thread %x for process %x on core %d in cluster %x\n",400 thread_dmsg("\n[DMSG] %s : exit / thread %x for process %x on core %d in cluster %x\n", 401 401 __FUNCTION__, thread->trdid, process->pid, core_lid, local_cxy ); 402 402 … … 416 416 thread_t * thread; // pointer on new thread descriptor 417 417 418 thread_dmsg("\n[ INFO] %s : enter / for type %s on core[%x,%d] / cycle %d\n",418 thread_dmsg("\n[DMSG] %s : enter / for type %s on core[%x,%d] / cycle %d\n", 419 419 __FUNCTION__ , thread_type_str( type ) , local_cxy , core_lid , hal_time_stamp() ); 420 420 … … 449 449 hal_cpu_context_create( thread ); 450 450 451 thread_dmsg("\n[ INFO] %s : exit / trdid = %x / type = %s / core = [%x,%d] / cycle %d\n",451 thread_dmsg("\n[DMSG] %s : exit / trdid = %x / type = %s / core = [%x,%d] / cycle %d\n", 452 452 __FUNCTION__ , thread->trdid , thread_type_str(type) , 453 453 local_cxy , core_lid , hal_time_stamp() ); … … 502 502 core_t * core = thread->core; 503 503 504 thread_dmsg("\n[ INFO] %s : enters for thread %x in process %x / type = %s\n",504 thread_dmsg("\n[DMSG] %s : enters for thread %x in process %x / type = %s\n", 505 505 __FUNCTION__ , thread->trdid , process->pid , thread_type_str( thread->type ) ); 506 506 … … 556 556 tm_end = hal_get_cycles(); 557 557 558 thread_dmsg("\n[ INFO] %s : exit for thread %x in process %x / duration = %d\n",558 thread_dmsg("\n[DMSG] %s : exit for thread %x in process %x / duration = %d\n", 559 559 __FUNCTION__, thread->trdid , process->pid , tm_end - tm_start ); 560 560 } … … 732 732 while( 1 ) 733 733 { 734 idle_dmsg("\n[ INFO] %s : core[%x][%d] goes to sleep at cycle %d\n",734 idle_dmsg("\n[DMSG] %s : core[%x][%d] goes to sleep at cycle %d\n", 735 735 __FUNCTION__ , local_cxy , lid , hal_get_cycles() ); 736 736 … … 738 738 //hal_core_sleep(); 739 739 740 idle_dmsg("\n[ INFO] %s : core[%x][%d] wake up at cycle %d\n",740 idle_dmsg("\n[DMSG] %s : core[%x][%d] wake up at cycle %d\n", 741 741 __FUNCTION__ , local_cxy , lid , hal_get_cycles() ); 742 742
Note: See TracChangeset
for help on using the changeset viewer.