Changeset 624 for trunk/kernel/kern/scheduler.c
- Timestamp:
- Mar 12, 2019, 1:37:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/scheduler.c
r619 r624 488 488 489 489 #if (DEBUG_SCHED_YIELD & 0x1) 490 if( sched->trace ) 490 // if( sched->trace ) 491 if( (uint32_t)hal_get_cycles() > DEBUG_SCHED_YIELD ) 491 492 sched_display( lid ); 492 493 #endif … … 541 542 542 543 #if DEBUG_SCHED_YIELD 543 if( sched->trace ) 544 // if( sched->trace ) 545 if( (uint32_t)hal_get_cycles() > DEBUG_SCHED_YIELD ) 544 546 printk("\n[%s] core[%x,%d] / cause = %s\n" 545 547 " thread %x (%s) (%x,%x) => thread %x (%s) (%x,%x) / cycle %d\n", … … 558 560 559 561 #if (DEBUG_SCHED_YIELD & 1) 560 if( sched->trace ) 562 // if( sched->trace ) 563 if(uint32_t)hal_get_cycles() > DEBUG_SCHED_YIELD ) 561 564 printk("\n[%s] core[%x,%d] / cause = %s\n" 562 565 " thread %x (%s) (%x,%x) continue / cycle %d\n", … … 601 604 602 605 nolock_printk("\n***** threads on core[%x,%d] / current %x / rpc_threads %d / cycle %d\n", 603 local_cxy , core->lid, sched->current, LOCAL_CLUSTER->rpc_threads[lid],606 local_cxy , lid, sched->current, LOCAL_CLUSTER->rpc_threads[lid], 604 607 (uint32_t)hal_get_cycles() ); 605 608
Note: See TracChangeset
for help on using the changeset viewer.