resusage ~master (2021-12-28T11:15:24.5491235)
Dub
Repo
ProcessCPUWatcher.this
resusage
cpu
ProcessCPUWatcher
Watch process by id.
this
(int pid)
class
ProcessCPUWatcher
@
safe
this
(
int
pid
)
this
(HANDLE procHandle)
this
()
Parameters
pid
int
ID number of process. Can be process handle on Windows.
Meta
Source
See Implementation
resusage
cpu
ProcessCPUWatcher
constructors
this
functions
current
currentTotal
processID
Watch process by id.