Changeset be06914 in mainline for kernel/generic/src
- Timestamp:
- 2010-06-11T12:41:35Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b3b7e14a
- Parents:
- 48dcc69
- Location:
- kernel/generic/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r48dcc69 rbe06914 442 442 irq_spinlock_lock(&box->lock, true); 443 443 if (!list_empty(&box->irq_notifs)) { 444 /* Count rec ieved IRQ notification */444 /* Count received IRQ notification */ 445 445 irq_cnt++; 446 446 … … 452 452 irq_spinlock_unlock(&box->irq_lock, false); 453 453 } else if (!list_empty(&box->answers)) { 454 /* Count rec ieved answer */454 /* Count received answer */ 455 455 answer_cnt++; 456 456 … … 460 460 atomic_dec(&request->data.phone->active_calls); 461 461 } else if (!list_empty(&box->calls)) { 462 /* Count rec ieved call */462 /* Count received call */ 463 463 call_cnt++; 464 464 … … 477 477 irq_spinlock_pass(&box->lock, &TASK->lock); 478 478 479 TASK->ipc_info.irq_notif_rec ieved += irq_cnt;480 TASK->ipc_info.answer_rec ieved += answer_cnt;481 TASK->ipc_info.call_rec ieved += call_cnt;479 TASK->ipc_info.irq_notif_received += irq_cnt; 480 TASK->ipc_info.answer_received += answer_cnt; 481 TASK->ipc_info.call_received += call_cnt; 482 482 483 483 irq_spinlock_unlock(&TASK->lock, true); -
kernel/generic/src/proc/task.c
r48dcc69 rbe06914 197 197 198 198 task->ipc_info.call_sent = 0; 199 task->ipc_info.call_rec ieved = 0;199 task->ipc_info.call_received = 0; 200 200 task->ipc_info.answer_sent = 0; 201 task->ipc_info.answer_rec ieved = 0;202 task->ipc_info.irq_notif_rec ieved = 0;201 task->ipc_info.answer_received = 0; 202 task->ipc_info.irq_notif_received = 0; 203 203 task->ipc_info.forwarded = 0; 204 204 … … 478 478 #ifdef __32_BITS__ 479 479 if (*additional) 480 printf("%-8" PRIu64 " %9l d %7ld", task->taskid,480 printf("%-8" PRIu64 " %9lu %7lu", task->taskid, 481 481 atomic_get(&task->refcount), atomic_get(&task->active_calls)); 482 482 else … … 489 489 #ifdef __64_BITS__ 490 490 if (*additional) 491 printf("%-8" PRIu64 " %9" PRIu64 "%c %9" PRIu64 "%c %9l d %7ld",491 printf("%-8" PRIu64 " %9" PRIu64 "%c %9" PRIu64 "%c %9lu %7lu", 492 492 task->taskid, ucycles, usuffix, kcycles, ksuffix, 493 493 atomic_get(&task->refcount), atomic_get(&task->active_calls)); … … 530 530 #ifdef __64_BITS__ 531 531 if (additional) 532 printf("[ taskid] [ucycles ] [kcycles ] [threads] [calls]"532 printf("[id ] [ucycles ] [kcycles ] [threads] [calls]" 533 533 " [callee\n"); 534 534 else 535 printf("[ taskid] [name ] [ctx] [address ]"535 printf("[id ] [name ] [ctx] [address ]" 536 536 " [as ]\n"); 537 537 #endif
Note:
See TracChangeset
for help on using the changeset viewer.