Changeset 07640dfd in mainline for kernel/generic/src/proc/thread.c


Ignore:
Timestamp:
2010-03-29T16:21:29Z (15 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ea55bc4
Parents:
a2a00e8
Message:

Small changes on kernel & user accounting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    ra2a00e8 r07640dfd  
    630630
    631631#ifdef __32_BITS__
    632         printf("%-6" PRIu64" %-10s %10p %-8s %10p %-3" PRIu32 " %10p %10p %9" PRIu64 "%c %9" PRIu64 "%c %9" PRIu64 "%c ",
    633             t->tid, t->name, t, thread_states[t->state], t->task,
    634         t->task->context, t->thread_code, t->kstack, cycles, suffix, ucycles, usuffix, kcycles, ksuffix);
     632        printf("%-6" PRIu64" %-10s %10p %-8s %10p %-3" PRIu32 " %10p %10p %9"
     633                PRIu64 "%c %9" PRIu64 "%c ", t->tid, t->name, t,
     634                thread_states[t->state], t->task, t->task->context, t->thread_code,
     635                t->kstack, ucycles, usuffix, kcycles, ksuffix);
    635636#endif
    636637
    637638#ifdef __64_BITS__
    638         printf("%-6" PRIu64" %-10s %18p %-8s %18p %-3" PRIu32 " %18p %18p %9" PRIu64 "%c %9" PRIu64 "%c %9" PRIu64 "%c ",
    639             t->tid, t->name, t, thread_states[t->state], t->task,
    640         t->task->context, t->thread_code, t->kstack, cycles, suffix, ucycles, usuffix, kcycles, ksuffix);
     639        printf("%-6" PRIu64" %-10s %18p %-8s %18p %-3" PRIu32 " %18p %18p %9"
     640                PRIu64 "%c %9" PRIu64 "%c ", t->tid, t->name, t,
     641                thread_states[t->state], t->task, t->task->context, t->thread_code,
     642                t->kstack, ucycles, usuffix, kcycles, ksuffix);
    641643#endif
    642644                       
     
    672674#ifdef __32_BITS__     
    673675        printf("tid    name       address    state    task       "
    674                 "ctx code       stack      cycles     ucycles    kcycles    cpu  "
     676                "ctx code       stack      ucycles    kcycles    cpu  "
    675677                "waitqueue\n");
    676678        printf("------ ---------- ---------- -------- ---------- "
    677                 "--- ---------- ---------- ---------- ---------- ---------- ---- "
     679                "--- ---------- ---------- ---------- ---------- ---- "
    678680                "----------\n");
    679681#endif
     
    681683#ifdef __64_BITS__
    682684        printf("tid    name       address            state    task               "
    683                 "ctx code               stack              cycles     ucycles    kcycles    cpu  "
     685                "ctx code               stack              ucycles    kcycles    cpu  "
    684686                "waitqueue\n");
    685687        printf("------ ---------- ------------------ -------- ------------------ "
    686                 "--- ------------------ ------------------ ---------- ---------- ---------- ---- "
     688                "--- ------------------ ------------------ ---------- ---------- ---- "
    687689                "------------------\n");
    688690#endif
Note: See TracChangeset for help on using the changeset viewer.