hw: format fix in activity table

ref #989
This commit is contained in:
Martin Stein 2013-12-06 19:12:06 +01:00 committed by Norman Feske
parent f4bd2368f6
commit 906b4dc90a

View File

@ -612,7 +612,7 @@ void Thread::_print_activity()
{ {
static Thread * idle = dynamic_cast<Thread *>(cpu_scheduler()->idle()); static Thread * idle = dynamic_cast<Thread *>(cpu_scheduler()->idle());
Genode::printf("\033[33m[%u] %s", pd_id(), pd_label()); Genode::printf("\033[33m[%u] %s", pd_id(), pd_label());
Genode::printf("(%u) %s:\033[0m", id(), label()); Genode::printf(" (%u) %s:\033[0m", id(), label());
if (id() == idle->id()) { if (id() == idle->id()) {
Genode::printf("\033[32m run\033[0m"); Genode::printf("\033[32m run\033[0m");
_print_common_activity(); _print_common_activity();
@ -629,7 +629,7 @@ void Thread::_print_activity()
_print_activity_when_awaits_ipc(); _print_activity_when_awaits_ipc();
break; } break; }
case AWAITS_RESUME: { case AWAITS_RESUME: {
Genode::printf("\033[32m await RES \033[0m"); Genode::printf("\033[32m await RES\033[0m");
break; } break; }
case AWAITS_SIGNAL: { case AWAITS_SIGNAL: {
unsigned const receiver_id = Signal_handler::receiver()->id(); unsigned const receiver_id = Signal_handler::receiver()->id();