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