Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update license headers to explicitly say GPLv2+ | Daniel Lange | 2021-09-22 | 8 | -8/+8 |
| | |||||
* | Align descriptive comments | Benny Baumann | 2021-07-15 | 1 | -1/+1 |
| | |||||
* | Fix typo in Generic_gettime_realtime on old Mac | Benny Baumann | 2021-07-01 | 1 | -1/+1 |
| | | | | Fixes #673 | ||||
* | platform-dependent files included relative to main source directory | mayurdahibhate | 2021-05-10 | 2 | -3/+4 |
| | |||||
* | cleaned up includes with iwyu | mayurdahibhate | 2021-05-10 | 2 | -4/+6 |
| | |||||
* | Align parameter name of Generic_gettime_realtime | Christian Göttsche | 2021-05-10 | 1 | -1/+1 |
| | | | | Align with name in implementation. | ||||
* | Request the realtime and monotonic clock times once per sample | Nathan Scott | 2021-04-05 | 2 | -0/+76 |
| | | | | | | | | | | | | | | | | Refactor the sample time code to make one call to gettimeofday (aka the realtime clock in clock_gettime, when available) and one to the monotonic clock. Stores each in more appropriately named ProcessList fields for ready access when needed. Every platform gets the opportunity to provide their own clock code, and the existing Mac OS X specific code is moved below darwin instead of in Compat. A couple of leftover time(2) calls are converted to use these ProcessList fields as well, instead of yet again sampling the system clock. Related to https://github.com/htop-dev/htop/pull/574 | ||||
* | Ensure buffer for gethostname(2) is properly terminated | Benny Baumann | 2021-03-04 | 1 | -0/+1 |
| | |||||
* | Resolve trailing-whitespace failure in CI (merge issue) | Nathan Scott | 2021-03-04 | 1 | -1/+1 |
| | |||||
* | Fix include file ordering of generic headers | Nathan Scott | 2021-03-04 | 3 | -4/+7 |
| | |||||
* | Move generic (shared) code into its own sub-directory | Nathan Scott | 2021-03-04 | 6 | -0/+249 |
Code that is shared across some (but not all) platforms is moved into a 'generic' home. Makefile.am cleanups to match plus some minor alphabetic reordering/formatting. As discussed in https://github.com/htop-dev/htop/pull/553 |