Constructor CpuUsage.CpuUsage(+ 2 overloads)
Overload
Use this constructor to get CPU usage of all processes (sum).
public CpuUsage()
Overload(next)
Use this constructor to get CPU usage of a process.
public CpuUsage(int processId)
Parameters
processId (int)
Process id. |
Overload(top)
Use this constructor to get CPU usage of multiple processes (sum).
public CpuUsage(IEnumerable<int> processes)
Parameters
processes (IEnumerable<int>)
Process ids. |