@@ -181,6 +181,32 @@ boolean ReadFile(HANDLE hFile, byte[] lpBuffer, int nNumberOfBytesToRead,
181
181
*/
182
182
boolean SetLocalTime (SYSTEMTIME lpSystemTime );
183
183
184
+ /**
185
+ * Retrieves system timing information. On a multiprocessor system, the
186
+ * values returned are the sum of the designated times across all
187
+ * processors.
188
+ *
189
+ * @param lpIdleTime
190
+ * A pointer to a {@link WinBase.FILETIME} structure that
191
+ * receives the amount of time that the system has been idle.
192
+ * @param lpKernelTime
193
+ * A pointer to a {@link WinBase.FILETIME} structure that
194
+ * receives the amount of time that the system has spent
195
+ * executing in Kernel mode (including all threads in all
196
+ * processes, on all processors). This time value also includes
197
+ * the amount of time the system has been idle.
198
+ * @param lpUserTime
199
+ * A pointer to a {@link WinBase.FILETIME} structure that
200
+ * receives the amount of time that the system has spent
201
+ * executing in User mode (including all threads in all
202
+ * processes, on all processors).
203
+ * @return {@code true} if the function succeeds, {@code false} otherwise.
204
+ * If the function fails, call {@link #GetLastError()} to get extended error
205
+ * information.
206
+ * @see <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms724400(v=vs.85).aspx">GetSystemTimes documentation</a>
207
+ */
208
+ boolean GetSystemTimes (WinBase .FILETIME lpIdleTime , WinBase .FILETIME lpKernelTime , WinBase .FILETIME lpUserTime );
209
+
184
210
/**
185
211
* The GetTickCount function retrieves the number of milliseconds that have
186
212
* elapsed since the system was started, up to 49.7 days.
0 commit comments