MKSTAT)Statistics regarding
the microkernel are provided to the C_OS by the MKSTAT module. Statistics for events such as alarms and creation
or deletion of ChorusOS actors and POSIX processes are retrieved by sysctl and /proc and then grouped by function
type in the MKSTAT module.
For details, see the INSTRUMENTATION(5FEA) man page.
The MKSTAT API is summarized in the following table:
|
Function |
Description |
|---|---|
|
mkStatMem() |
Memory statistics |
|
mkStatSvPages() |
Supervisor page statistics |
|
mkStatActors() |
mkStatThreads |
|
mkStatThreads() |
Execution statistics |
|
mkStatCpu() |
CPU statistics |
|
mkStatActorMem() |
Per-actor statistics |
|
mkStatActorSvPages() |
Supervisor per-actor statistics |
|
mkStatThreadCpu() |
Per-thread statistics |
|
mkStatEvtCtrl() |
Event control statistics |
|
mkStatEvtWait() |
Events waiting statistics |