|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Snapshot from ProbeProcessWait(): is the child (group) alive, is it blocked reading stdin, and how much CPU has the group burned so far (caller diffs successive samples). More...
#include <Utils.h>
Public Attributes | |
| bool | alive |
| process (or group) still exists | |
| bool | waitExact |
| true only when the OS reported the exact blocking syscall (Linux /proc/<pid>/syscall) | |
| bool | waitingStdin |
| blocked reading fd 0 (exact on Linux; best-effort composite elsewhere) | |
| uint64 | cpuTimeMs |
| cumulative user+sys CPU across the process group, in ms | |
Snapshot from ProbeProcessWait(): is the child (group) alive, is it blocked reading stdin, and how much CPU has the group burned so far (caller diffs successive samples).
| bool cmlabs::utils::ProcessWaitInfo::alive |
process (or group) still exists
Definition at line 1380 of file Utils.h.
Referenced by cmlabs::utils::ProbeProcessWait(), and cmlabs::utils::UnitTest_ProbeProcessWait().
| uint64 cmlabs::utils::ProcessWaitInfo::cpuTimeMs |
cumulative user+sys CPU across the process group, in ms
Definition at line 1383 of file Utils.h.
Referenced by cmlabs::utils::ProbeProcessWait(), and cmlabs::utils::UnitTest_ProbeProcessWait().
| bool cmlabs::utils::ProcessWaitInfo::waitExact |
true only when the OS reported the exact blocking syscall (Linux /proc/<pid>/syscall)
Definition at line 1381 of file Utils.h.
Referenced by cmlabs::utils::ProbeProcessWait(), and cmlabs::utils::UnitTest_ProbeProcessWait().
| bool cmlabs::utils::ProcessWaitInfo::waitingStdin |
blocked reading fd 0 (exact on Linux; best-effort composite elsewhere)
Definition at line 1382 of file Utils.h.
Referenced by cmlabs::utils::ProbeProcessWait(), and cmlabs::utils::UnitTest_ProbeProcessWait().