mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-18 11:22:46 +12:00
revert numer
This commit is contained in:
parent
59af5d5a55
commit
7fea4f17d9
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue