Method | Description | |
---|---|---|
GetCPUUsage ( ) : double |
Calculate CPU usage, e.g.: this process time vs system process time return the CPU usage in percentage
|
|
GetProcessTimes ( ) : ProcessTimes |
Get the cpu time for this process
|
Method | Description | |
---|---|---|
GetCurrentProcess ( ) : |
||
GetProcessTimes ( |
||
GetSystemInfo ( |
||
NtQuerySystemInformation ( SYSTEM_INFORMATION_CLASS InfoClass, |
||
ToUInt64 ( FileTime time ) : System.UInt64 |
Uitility function to convert FileTime to uint64
|
public static GetProcessTimes ( ) : ProcessTimes | ||
return | ProcessTimes |