diff options
Diffstat (limited to 'src/system/Clock.cxx')
-rw-r--r-- | src/system/Clock.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system/Clock.cxx b/src/system/Clock.cxx index 8fbd76d22..4d89b9b89 100644 --- a/src/system/Clock.cxx +++ b/src/system/Clock.cxx @@ -135,9 +135,9 @@ DeltaFileTimeS(FILETIME a, FILETIME b) unsigned GetProcessUptimeS() { - FILETIME creation_time, now; + FILETIME creation_time, exit_time, kernel_time, user_time, now; GetProcessTimes(GetCurrentProcess(), &creation_time, - nullptr, nullptr, nullptr); + &exit_time, &kernel_time, &user_time); GetSystemTimeAsFileTime(&now); return DeltaFileTimeS(now, creation_time); |