For each thread currently active on the system, the following information is available via the stats entry of the process directory in the /proc file system:
|
Function |
Instrument Type |
Description |
|---|---|---|
|
internal_cpu() |
Counter |
Internal CPU time spent in milliseconds (similar to user mode) |
|
external_cpu() |
Counter |
External CPU time spent in milliseconds (similar to supervisor mode) |
|
waiting_cnt() |
Counter |
Number of times the thread has been blocked |