htop/darwin
Nathan Scott 75e9f9a8d9 Cull the definitions of pageSize and pageSizeKB from CRT.c
By storing the per-process m_resident and m_virt values in the form
htop wants to display them in (KB, not pages), we no longer need to
have definitions of pageSize and pageSizeKB in the common CRT code.

These variables were never really CRT (i.e. display) related in the
first place.  It turns out the darwin platform code doesn't need to
use these at all (the process values are extracted from the kernel
in bytes not pages) and the other platforms can each use their own
local pagesize variables, in more appropriate locations.

Some platforms were actually already doing this, so this change is
removing duplication of logic and variables there.
2020-12-10 11:57:48 +11:00
..
DarwinProcess.c Cull the definitions of pageSize and pageSizeKB from CRT.c 2020-12-10 11:57:48 +11:00
DarwinProcess.h DarwinProcess: mark local function static and sort includes 2020-11-17 21:50:38 +01:00
DarwinProcessList.c DarwinProcessList: retry getting list of all processes on ENOMEM 2020-11-23 17:00:32 +01:00
DarwinProcessList.h DarwinProcessList: mark local functions static and sort includes 2020-11-17 21:50:38 +01:00
Platform.c Unify naming of first argument of Platform_getBattery 2020-11-25 12:47:07 +01:00
Platform.h Minor cleanups to platform-specific init and done 2020-11-19 12:32:07 +11:00