mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 09:07:25 +03:00
67ccd6b909
Division by 100000.0 worked because `sysconf(_SC_CLK_TCK)` happened to be 100. By unhardcoding: 1) It becomes more clear what this 100000.0 figure comes from. 2) It protects against bugs in the case `sysconf(_SC_CLK_TCK)` ever changes.