Changeset 5b86d10 in mainline
- Timestamp:
- 2008-06-03T14:52:16Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 52755f1
- Parents:
- b84aaba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
rb84aaba r5b86d10 452 452 * Entering state is unexpected. 453 453 */ 454 panic("tid% llu: unexpected state %s\n", THREAD->tid,454 panic("tid%" PRIu64 ": unexpected state %s\n", THREAD->tid, 455 455 thread_states[THREAD->state]); 456 456 break; … … 505 505 506 506 #ifdef SCHEDULER_VERBOSE 507 printf("cpu% d: tid %llu (priority=%d, ticks=%llu, nrdy=%ld)\n",507 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 ", nrdy=%ld)\n", 508 508 CPU->id, THREAD->tid, THREAD->priority, THREAD->ticks, 509 509 atomic_get(&CPU->nrdy)); … … 641 641 spinlock_lock(&t->lock); 642 642 #ifdef KCPULB_VERBOSE 643 printf("kcpulb% d: TID %llu -> cpu%d, nrdy=%ld, "644 "avg=% nd\n", CPU->id, t->tid, CPU->id,643 printf("kcpulb%u: TID %" PRIu64 " -> cpu%u, nrdy=%ld, " 644 "avg=%ld\n", CPU->id, t->tid, CPU->id, 645 645 atomic_get(&CPU->nrdy), 646 646 atomic_get(&nrdy) / config.cpu_active); … … 709 709 710 710 spinlock_lock(&cpus[cpu].lock); 711 printf("cpu% d: address=%p, nrdy=%ld, needs_relink=%ld\n",711 printf("cpu%u: address=%p, nrdy=%ld, needs_relink=%" PRIc "\n", 712 712 cpus[cpu].id, &cpus[cpu], atomic_get(&cpus[cpu].nrdy), 713 713 cpus[cpu].needs_relink); … … 720 720 continue; 721 721 } 722 printf("\trq[% d]: ", i);722 printf("\trq[%u]: ", i); 723 723 for (cur = r->rq_head.next; cur != &r->rq_head; 724 724 cur = cur->next) { 725 725 t = list_get_instance(cur, thread_t, rq_link); 726 printf("% llu(%s) ", t->tid,726 printf("%" PRIu64 "(%s) ", t->tid, 727 727 thread_states[t->state]); 728 728 }
Note:
See TracChangeset
for help on using the changeset viewer.