summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/Windows')
-rw-r--r--llvm/lib/Support/Windows/Process.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Process.inc b/llvm/lib/Support/Windows/Process.inc
index 789ae7ddcea..ad9412852f1 100644
--- a/llvm/lib/Support/Windows/Process.inc
+++ b/llvm/lib/Support/Windows/Process.inc
@@ -116,7 +116,7 @@ void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
return;
user_time = getTimeValueFromFILETIME(UserTime);
- sys_time = getTimeValueFromFILETIME(SystemTime);
+ sys_time = getTimeValueFromFILETIME(KernelTime);
}
int Process::GetCurrentUserId()
OpenPOWER on IntegriCloud