Changeset 280a27e in mainline for generic/src/proc/scheduler.c
- Timestamp:
- 2006-04-16T13:16:44Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50de918
- Parents:
- c624b96
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/proc/scheduler.c
rc624b96 r280a27e 450 450 451 451 #ifdef SCHEDULER_VERBOSE 452 printf("cpu%d: tid %d (priority=%d,ticks=% d,nrdy=%d)\n", CPU->id, THREAD->tid, THREAD->priority, THREAD->ticks, atomic_get(&CPU->nrdy));452 printf("cpu%d: tid %d (priority=%d,ticks=%lld,nrdy=%ld)\n", CPU->id, THREAD->tid, THREAD->priority, THREAD->ticks, atomic_get(&CPU->nrdy)); 453 453 #endif 454 454 … … 570 570 spinlock_lock(&t->lock); 571 571 #ifdef KCPULB_VERBOSE 572 printf("kcpulb%d: TID %d -> cpu%d, nrdy=% d, avg=%d\n", CPU->id, t->tid, CPU->id, atomic_get(&CPU->nrdy), atomic_get(&nrdy) / config.cpu_active);572 printf("kcpulb%d: TID %d -> cpu%d, nrdy=%ld, avg=%nd\n", CPU->id, t->tid, CPU->id, atomic_get(&CPU->nrdy), atomic_get(&nrdy) / config.cpu_active); 573 573 #endif 574 574 t->flags |= X_STOLEN; … … 634 634 635 635 spinlock_lock(&cpus[cpu].lock); 636 printf("cpu%d: address=%P, nrdy=% d, needs_relink=%d\n",636 printf("cpu%d: address=%P, nrdy=%ld, needs_relink=%ld\n", 637 637 cpus[cpu].id, &cpus[cpu], atomic_get(&cpus[cpu].nrdy), cpus[cpu].needs_relink); 638 638
Note:
See TracChangeset
for help on using the changeset viewer.