Changes in kernel/generic/src/proc/scheduler.c [feeac0d:ef9a2a8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
rfeeac0d ref9a2a8 64 64 #include <stacktrace.h> 65 65 66 //#define SCHEDULER_VERBOSE 1 67 66 68 static void scheduler_separated_stack(void); 67 69 … … 518 520 #ifdef SCHEDULER_VERBOSE 519 521 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 520 ", nrdy=% ld)\n", CPU->id, THREAD->tid, THREAD->priority,522 ", nrdy=%d)\n", CPU->id, THREAD->tid, THREAD->priority, 521 523 THREAD->ticks, atomic_get(&CPU->nrdy)); 522 524 #endif … … 739 741 740 742 printf("\trq[%u]: ", i); 741 list_foreach(cpus[cpu].rq[i].rq, rq_link, thread_t, 742 thread) { 743 list_foreach(cpus[cpu].rq[i].rq, cur) { 744 thread_t *thread = list_get_instance(cur, 745 thread_t, rq_link); 743 746 printf("%" PRIu64 "(%s) ", thread->tid, 744 747 thread_states[thread->state]);
Note:
See TracChangeset
for help on using the changeset viewer.