Changeset 280a27e in mainline for generic/src/proc
- Timestamp:
- 2006-04-16T13:16:44Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50de918
- Parents:
- c624b96
- Location:
- generic/src/proc
- Files:
-
- 3 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 -
generic/src/proc/task.c
rc624b96 r280a27e 213 213 214 214 spinlock_lock(&t->lock); 215 printf("%s: address=% P, taskid=%Q, as=%P, ActiveCalls: %d",215 printf("%s: address=%#zX, taskid=%#llX, as=%#zX, ActiveCalls: %zd", 216 216 t->name, t, t->taskid, t->as, atomic_get(&t->active_calls)); 217 217 for (j=0; j < IPC_MAX_PHONES; j++) { 218 218 if (t->phones[j].callee) 219 printf(" Ph(% d): %P", j, t->phones[j].callee);219 printf(" Ph(%zd): %#zX ", j, t->phones[j].callee); 220 220 } 221 221 printf("\n"); -
generic/src/proc/thread.c
rc624b96 r280a27e 419 419 420 420 t = (thread_t *) node->value[i]; 421 printf("%s: address=% P, tid=%d, state=%s, task=%P, code=%P, stack=%P, cpu=",421 printf("%s: address=%#zX, tid=%zd, state=%s, task=%#zX, code=%#zX, stack=%#zX, cpu=", 422 422 t->name, t, t->tid, thread_states[t->state], t->task, t->thread_code, t->kstack); 423 423 if (t->cpu) 424 printf("cpu% d ", t->cpu->id);424 printf("cpu%zd ", t->cpu->id); 425 425 else 426 426 printf("none");
Note:
See TracChangeset
for help on using the changeset viewer.
