htop/openbsd
Nathan Scott 356488aa53 Request the realtime and monotonic clock times once per sample
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
2021-04-05 23:41:07 +02:00
..
OpenBSDProcess.c Sort out the mess around column sorting that had accumulated over time 2021-01-21 14:27:23 +01:00
OpenBSDProcess.h OpenBSD: update 2021-03-20 18:30:08 +01:00
OpenBSDProcessList.c Merge branch 'openbsd' of cgzones/htop 2021-03-21 17:48:41 +01:00
OpenBSDProcessList.h OpenBSD: update 2021-03-20 18:30:08 +01:00
Platform.c Merge branch 'openbsd' of cgzones/htop 2021-03-21 17:48:41 +01:00
Platform.h Request the realtime and monotonic clock times once per sample 2021-04-05 23:41:07 +02:00
ProcessField.h Rework enum ProcessField 2020-12-19 21:13:32 +01:00