mirror of https://github.com/xzeldon/htop.git
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. |
||
---|---|---|
.. | ||
DarwinProcess.c | ||
DarwinProcess.h | ||
DarwinProcessList.c | ||
DarwinProcessList.h | ||
Platform.c | ||
Platform.h | ||
ProcessField.h |