From 7fea4f17d920dd13f4255623fa636197b04e51e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20=C3=87etin?= Date: Mon, 15 Jan 2024 20:18:49 +0300 Subject: [PATCH] revert numer --- src/osx/btop_collect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/btop_collect.cpp b/src/osx/btop_collect.cpp index 473faad..7e64da5 100644 --- a/src/osx/btop_collect.cpp +++ b/src/osx/btop_collect.cpp @@ -144,7 +144,7 @@ namespace Shared { mach_timebase_info_data_t convf; if (mach_timebase_info(&convf) == KERN_SUCCESS) { - machTck = convf.number / convf.denom; + machTck = convf.numer / convf.denom; } else { Logger::warning("Could not get mach clock tick conversion factor. Defaulting to 100, processes cpu usage might be incorrect."); machTck = 100;