mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-02 02:24:54 +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;
|
mach_timebase_info_data_t convf;
|
||||||
if (mach_timebase_info(&convf) == KERN_SUCCESS) {
|
if (mach_timebase_info(&convf) == KERN_SUCCESS) {
|
||||||
machTck = convf.number / convf.denom;
|
machTck = convf.numer / convf.denom;
|
||||||
} else {
|
} else {
|
||||||
Logger::warning("Could not get mach clock tick conversion factor. Defaulting to 100, processes cpu usage might be incorrect.");
|
Logger::warning("Could not get mach clock tick conversion factor. Defaulting to 100, processes cpu usage might be incorrect.");
|
||||||
machTck = 100;
|
machTck = 100;
|
||||||
|
|
Loading…
Reference in a new issue