projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ed1884b
)
[w32process] Fix inverted kernel and user ticks (#5641)
author
Ludovic Henry
<luhenry@microsoft.com>
Tue, 26 Sep 2017 17:51:54 +0000
(13:51 -0400)
committer
GitHub
<noreply@github.com>
Tue, 26 Sep 2017 17:51:54 +0000
(13:51 -0400)
mono/metadata/w32process-unix.c
patch
|
blob
|
history
diff --git
a/mono/metadata/w32process-unix.c
b/mono/metadata/w32process-unix.c
index 8a55844b6e08884068d95bb62ce3a0037eed9578..f71dc34bdb758365d5b4d928476d27255c164a97 100644
(file)
--- a/
mono/metadata/w32process-unix.c
+++ b/
mono/metadata/w32process-unix.c
@@
-2580,8
+2580,8
@@
ves_icall_Microsoft_Win32_NativeMethods_GetProcessTimes (gpointer handle, gint64
&start_ticks, &user_ticks, &kernel_ticks);
ticks_to_processtime (start_ticks, creation_processtime);
- ticks_to_processtime (
user
_ticks, kernel_processtime);
- ticks_to_processtime (
kernel
_ticks, user_processtime);
+ ticks_to_processtime (
kernel
_ticks, kernel_processtime);
+ ticks_to_processtime (
user
_ticks, user_processtime);
return TRUE;
}