summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-228-8/+8
|
* Align descriptive commentsBenny Baumann2021-07-151-1/+1
|
* Fix typo in Generic_gettime_realtime on old MacBenny Baumann2021-07-011-1/+1
| | | | Fixes #673
* platform-dependent files included relative to main source directorymayurdahibhate2021-05-102-3/+4
|
* cleaned up includes with iwyumayurdahibhate2021-05-102-4/+6
|
* Align parameter name of Generic_gettime_realtimeChristian Göttsche2021-05-101-1/+1
| | | | Align with name in implementation.
* Request the realtime and monotonic clock times once per sampleNathan Scott2021-04-052-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 terminatedBenny Baumann2021-03-041-0/+1
|
* Resolve trailing-whitespace failure in CI (merge issue)Nathan Scott2021-03-041-1/+1
|
* Fix include file ordering of generic headersNathan Scott2021-03-043-4/+7
|
* Move generic (shared) code into its own sub-directoryNathan Scott2021-03-046-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

© 2014-2024 Faster IT GmbH | imprint | privacy policy