LLFIO
v2.00
|
CPU usage statistics for a process. More...
#include "utils.hpp"
Public Member Functions | |
process_cpu_usage | operator- (const process_cpu_usage &o) const noexcept |
Subtracts an earlier result from a later result. | |
process_cpu_usage & | operator-= (const process_cpu_usage &o) noexcept |
Subtracts an earlier result from a later result. | |
Public Attributes | |
uint64_t | system_ns_in_user_mode {0} |
The amount of nanoseconds all processes ever have spent in user mode. | |
uint64_t | system_ns_in_kernel_mode {0} |
The amount of nanoseconds all processes ever have spent in kernel mode. | |
uint64_t | system_ns_in_idle_mode {0} |
The amount of nanoseconds all processes ever have spent in idle mode. | |
uint64_t | process_ns_in_user_mode {0} |
The amount of nanoseconds this process has spent in user mode. | |
uint64_t | process_ns_in_kernel_mode {0} |
The amount of nanoseconds this process has spent in kernel mode. | |
CPU usage statistics for a process.