Changeset 1e9d0e3 in mainline for kernel/generic/src/proc/scheduler.c
- Timestamp:
- 2008-06-21T10:57:51Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1a48bcd
- Parents:
- 46c1234
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
r46c1234 r1e9d0e3 452 452 * Entering state is unexpected. 453 453 */ 454 panic("tid%" PRIu64 ": unexpected state %s\n", THREAD->tid,455 thread_states[THREAD->state]);454 panic("tid%" PRIu64 ": unexpected state %s\n", 455 THREAD->tid, thread_states[THREAD->state]); 456 456 break; 457 457 } … … 505 505 506 506 #ifdef SCHEDULER_VERBOSE 507 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 ", nrdy=%ld)\n",508 CPU->id, THREAD->tid, THREAD->priority, THREAD->ticks,509 atomic_get(&CPU->nrdy));507 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 508 ", nrdy=%ld)\n", CPU->id, THREAD->tid, THREAD->priority, 509 THREAD->ticks, atomic_get(&CPU->nrdy)); 510 510 #endif 511 511 … … 641 641 spinlock_lock(&t->lock); 642 642 #ifdef KCPULB_VERBOSE 643 printf("kcpulb%u: TID %" PRIu64 " -> cpu%u, nrdy=%ld,"644 " avg=%ld\n", CPU->id, t->tid, CPU->id,645 atomic_get(&CPU->nrdy),643 printf("kcpulb%u: TID %" PRIu64 " -> cpu%u, " 644 "nrdy=%ld, avg=%ld\n", CPU->id, t->tid, 645 CPU->id, atomic_get(&CPU->nrdy), 646 646 atomic_get(&nrdy) / config.cpu_active); 647 647 #endif
Note:
See TracChangeset
for help on using the changeset viewer.