diff --git a/src/util/SystemInfo/SystemInfoUnix.cpp b/src/util/SystemInfo/SystemInfoUnix.cpp index fc5fd252..5af48bb6 100644 --- a/src/util/SystemInfo/SystemInfoUnix.cpp +++ b/src/util/SystemInfo/SystemInfoUnix.cpp @@ -30,7 +30,7 @@ void QueryProcTime(uint64_t &out_now, uint64_t &out_user, uint64_t &out_kernel) struct tms time_info; clock_t clock_now = times(&time_info); clock_t clock_user = time_info.tms_utime; - clock_t clock_kernel = time_info.tms_utime; + clock_t clock_kernel = time_info.tms_stime; out_now = static_cast(clock_now); out_user = static_cast(clock_user); out_kernel = static_cast(clock_kernel);