[gimp] app: in GimpDashboard, fix CPU-usage sampling on Windows



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]