ProcessCPUWatcher

CPU watcher for single process.

Constructors

this
this(int pid)

Watch process by id.

this
this(HANDLE procHandle)
Undocumented in source.
this
this()

ditto, but watch this process.

Members

Functions

current
double current()

CPU time used by underlying process, in percents between 0 and 100.

currentTotal
double currentTotal()

CPU time used by underlying process. The value range depends on CPU count. E.g. on the system with 4 CPUs it will be between 0 and 400 (considering all units are available for the process).

processID
int processID()

The process ID number.

Inherited Members

From CPUWatcher

current
double current()

CPU time currently used, in percents.

Meta