revert numer

This commit is contained in:
Ege Çetin 2024-01-15 20:18:49 +03:00
parent 59af5d5a55
commit 7fea4f17d9

View file

@ -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;