mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-26 15:55:46 +00:00
75e9f9a8d9
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. |
||
---|---|---|
.. | ||
OpenBSDProcess.c | ||
OpenBSDProcess.h | ||
OpenBSDProcessList.c | ||
OpenBSDProcessList.h | ||
Platform.c | ||
Platform.h |