htop/darwin
Alexander Momchilov 67ccd6b909 Unhardcode tick-to-ms conversion
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.
2020-12-19 21:30:39 +01:00
..
DarwinProcess.c Unhardcode tick-to-ms conversion 2020-12-19 21:30:39 +01:00
DarwinProcess.h Unhardcode tick-to-ms conversion 2020-12-19 21:30:39 +01:00
DarwinProcessList.c Unhardcode tick-to-ms conversion 2020-12-19 21:30:39 +01:00
DarwinProcessList.h DarwinProcessList: mark local functions static and sort includes 2020-11-17 21:50:38 +01:00
Platform.c Unhardcode tick-to-ms conversion 2020-12-19 21:30:39 +01:00
Platform.h Unhardcode tick-to-ms conversion 2020-12-19 21:30:39 +01:00
ProcessField.h Rework enum ProcessField 2020-12-19 21:13:32 +01:00