.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH GetProcessTimes 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBGetProcessTimes\fR (KERNEL32.@) .SH SYNOPSIS BOOL GetProcessTimes ( HANDLE \fIhprocess\fR, LPFILETIME \fIlpCreationTime\fR, LPFILETIME \fIlpExitTime\fR, LPFILETIME \fIlpKernelTime\fR, LPFILETIME \fIlpUserTime\fR ) .SH DESCRIPTION .PP Get the user and kernel execution times of a process, along with the creation and exit times if known. .SH PARAMS \fIhprocess\fR \fB[In]\fR The process to be queried. .PP \fIlpCreationTime\fR \fB[Out]\fR The creation time of the process. .PP \fIlpExitTime\fR \fB[Out]\fR The exit time of the process if exited. .PP \fIlpKernelTime\fR \fB[Out]\fR The time spent in kernel routines in 100's of nanoseconds. .PP \fIlpUserTime\fR \fB[Out]\fR The time spent in user routines in 100's of nanoseconds. .PP .SH RETURNS .PP \fBTRUE\fR. .SH NOTES .PP olorin@fandra.org: Would be nice to subtract the cpu time used by Wine at startup. Also, there is a need to separate times used by different applications. .SH BUGS .PP KernelTime and UserTime are always for the current process .SH IMPLEMENTATION .PP Declared in \fB"winbase.h"\fR. .PP Implemented in \fB"dlls/kernel32/time.c"\fR. .PP Debug channel \fB"time"\fR.