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


Ignore:
Timestamp:
2010-03-29T16:21:29Z (14 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/task.c

    ra2a00e8 r07640dfd  
    427427
    428428#ifdef __32_BITS__     
    429         printf("%-6" PRIu64 " %-12s %-3" PRIu32 " %10p %10p %9" PRIu64 "%c %9" PRIu64 "%c %9"
    430                 PRIu64 "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as, cycles, suffix,
     429        printf("%-6" PRIu64 " %-12s %-3" PRIu32 " %10p %10p %9" PRIu64 "%c %9"
     430                PRIu64 "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as,
    431431                ucycles, usuffix, kcycles, ksuffix, atomic_get(&t->refcount),
    432432                atomic_get(&t->active_calls));
     
    434434
    435435#ifdef __64_BITS__
    436         printf("%-6" PRIu64 " %-12s %-3" PRIu32 " %18p %18p %9" PRIu64 "%c %9" PRIu64 "%c %9"
    437                 PRIu64 "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as, cycles, suffix,
     436        printf("%-6" PRIu64 " %-12s %-3" PRIu32 " %18p %18p %9" PRIu64 "%c %9"
     437                PRIu64 "%c %7ld %6ld", t->taskid, t->name, t->context, t, t->as,
    438438                ucycles, usuffix, kcycles, ksuffix, atomic_get(&t->refcount),
    439439                atomic_get(&t->active_calls));
     
    461461#ifdef __32_BITS__     
    462462        printf("taskid name         ctx address    as        "
    463             " cycles     ucycles    kcycles    threads calls  callee\n");
     463            " ucycles    kcycles    threads calls  callee\n");
    464464        printf("------ ------------ --- ---------- ----------"
    465             " ---------- ---------- ---------- ------- ------ ------>\n");
     465            " ---------- ---------- ------- ------ ------>\n");
    466466#endif
    467467
    468468#ifdef __64_BITS__
    469469        printf("taskid name         ctx address            as                "
    470             " cycles     ucycles    kcycles    threads calls  callee\n");
     470            " ucycles    kcycles    threads calls  callee\n");
    471471        printf("------ ------------ --- ------------------ ------------------"
    472             " ---------- ---------- ---------- ---------- ------- ------ ------>\n");
     472            " ---------- ---------- ---------- ------- ------ ------>\n");
    473473#endif
    474474
Note: See TracChangeset for help on using the changeset viewer.