[gimp] app: in GimpDashboard, fix CPU-usage sampling on Windows
- From: N/A <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: in GimpDashboard, fix CPU-usage sampling on Windows
- Date: Sat, 20 Jan 2018 23:09:26 +0000 (UTC)
commit 4d3720baad3792a418f2d002b66440c1bda29cbb
Author: Ell <ell_se yahoo com>
Date: Sat Jan 20 18:05:51 2018 -0500
app: in GimpDashboard, fix CPU-usage sampling on Windows
Thanks, Partha!
app/widgets/gimpdashboard.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpdashboard.c b/app/widgets/gimpdashboard.c
index 066cd62..fe2fc60 100644
--- a/app/widgets/gimpdashboard.c
+++ b/app/widgets/gimpdashboard.c
@@ -1556,7 +1556,7 @@ gimp_dashboard_sample_cpu_usage (GimpDashboard *dashboard,
if (! GetProcessTimes (GetCurrentProcess (),
&process_creation_time,
&process_exit_time,
- &process_system_time,
+ &process_kernel_time,
&process_user_time))
{
prev_time = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]