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


Ignore:
Timestamp:
2010-06-11T12:41:35Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b3b7e14
Parents:
48dcc69
Message:

nicer top printouts
fix typos (recieved → received)

File:
1 edited

Legend:

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

    r48dcc69 rbe06914  
    197197       
    198198        task->ipc_info.call_sent = 0;
    199         task->ipc_info.call_recieved = 0;
     199        task->ipc_info.call_received = 0;
    200200        task->ipc_info.answer_sent = 0;
    201         task->ipc_info.answer_recieved = 0;
    202         task->ipc_info.irq_notif_recieved = 0;
     201        task->ipc_info.answer_received = 0;
     202        task->ipc_info.irq_notif_received = 0;
    203203        task->ipc_info.forwarded = 0;
    204204       
     
    478478#ifdef __32_BITS__
    479479        if (*additional)
    480                 printf("%-8" PRIu64 " %9ld %7ld", task->taskid,
     480                printf("%-8" PRIu64 " %9lu %7lu", task->taskid,
    481481                    atomic_get(&task->refcount), atomic_get(&task->active_calls));
    482482        else
     
    489489#ifdef __64_BITS__
    490490        if (*additional)
    491                 printf("%-8" PRIu64 " %9" PRIu64 "%c %9" PRIu64 "%c %9ld %7ld",
     491                printf("%-8" PRIu64 " %9" PRIu64 "%c %9" PRIu64 "%c %9lu %7lu",
    492492                    task->taskid, ucycles, usuffix, kcycles, ksuffix,
    493493                    atomic_get(&task->refcount), atomic_get(&task->active_calls));
     
    530530#ifdef __64_BITS__
    531531        if (additional)
    532                 printf("[taskid] [ucycles ] [kcycles ] [threads] [calls]"
     532                printf("[id    ] [ucycles ] [kcycles ] [threads] [calls]"
    533533                    " [callee\n");
    534534        else
    535                 printf("[taskid] [name        ] [ctx] [address         ]"
     535                printf("[id    ] [name        ] [ctx] [address         ]"
    536536                    " [as              ]\n");
    537537#endif
Note: See TracChangeset for help on using the changeset viewer.