summaryrefslogtreecommitdiffstats
path: root/DateTimeMeter.c
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* cleaned up includes with iwyumayurdahibhate2021-05-101-0/+2
|
* Request the realtime and monotonic clock times once per sampleNathan Scott2021-04-051-2/+3
| | | | | | | | | | | | | | | | 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
* Save text buffer in MeterChristian Göttsche2021-03-041-2/+2
|
* Drop newline at end of if branchChristian Göttsche2021-03-021-2/+1
|
* Mark several non-modified pointer variables constChristian Göttsche2021-01-111-1/+1
|
* Use size_t as len type for Meter_UpdateValuesChristian Göttsche2020-12-061-1/+1
| | | | Most of the time the parameter is passed to snprintf type functions
* Spacing around operatorsBenny Baumann2020-11-021-2/+2
|
* Make all required includes explicitBenny Baumann2020-10-181-2/+5
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* DateMeter followupChristian Göttsche2020-10-051-1/+1
|
* Add a date and datetime meter (#159)Michael F. Schönitzer2020-10-051-0/+47
Add a date meter and sort header and source files in Makefile Change the lists of header and source files sorted alphabetical and one file per line. This way diffs become better readable and merges easier.

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