MeasureTime

Measure the runtime of a process.

Constructors

this
this(Process p)
Undocumented in source.

Members

Functions

destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
kill
void kill()
Undocumented in source. Be warned that the author may not have intended to support it.
osHandle
RawPid osHandle()
Undocumented in source. Be warned that the author may not have intended to support it.
pipe
Channel pipe()
Undocumented in source. Be warned that the author may not have intended to support it.
status
int status()
Undocumented in source. Be warned that the author may not have intended to support it.
stderr
ReadChannel stderr()
Undocumented in source. Be warned that the author may not have intended to support it.
terminated
bool terminated()
Undocumented in source. Be warned that the author may not have intended to support it.
time
Duration time()
Undocumented in source. Be warned that the author may not have intended to support it.
tryWait
bool tryWait()
Undocumented in source. Be warned that the author may not have intended to support it.
wait
int wait()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Process

pipe
Channel pipe()

Access to stdin and stdout.

stderr
ReadChannel stderr()

Access stderr.

destroy
void destroy()

Kill and cleanup the process.

kill
void kill()

Kill the process.

wait
int wait()

Blocking wait for the process to terminated.

tryWait
bool tryWait()

Non-blocking wait for the process termination.

osHandle
RawPid osHandle()
status
int status()
terminated
bool terminated()

Meta