LLFIO  v2.00
llfio_v2_xxx::utils::process_cpu_usage Struct Reference

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_usageoperator-= (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.
 

Detailed Description

CPU usage statistics for a process.


The documentation for this struct was generated from the following file: