# Function Reference

# _WinAPI_GetSystemTimes

Retrieves system timing information

#include <WinAPISys.au3>
_WinAPI_GetSystemTimes ( )

## Return Value

Success: | The array that contains the following information: [0] - The time that the system has been idle. [1] - The time that the system has spent executing in kernel mode, in 100-nanosecond time units. [2] - The time that the system has spent executing in user mode, in 100-nanosecond time units.
Failure: | Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

## Remarks

On a multiprocessor system, the _WinAPI_GetSystemTimes() returns a values are the sum of the designated times
across all processors.

## See Also

Search GetSystemTimes in MSDN Library.