htop/darwin
Hisham e9b32eb62f Fix memory accounting in Darwin.
htop currently expects m_size and m_resident in pages (Process.c).
According to the proc_info.h header, the values returned by libproc
are in bytes:
http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/sys/proc_info.h
Eventually we should change the htop crossplatform API to expect memory
in bytes, but this is the smaller change that should fix it.
Closes #385.
2016-02-13 02:13:57 -02:00
..
Battery.c Standardize indentation. 2015-08-19 13:56:46 -03:00
Battery.h Added darwin with working battery meter 2015-08-19 13:47:26 -03:00
DarwinCRT.c Fix spelling of "maintainer" 2016-01-02 12:11:26 -05:00
DarwinCRT.h Added darwin with working battery meter 2015-08-19 13:47:26 -03:00
DarwinProcess.c Fix memory accounting in Darwin. 2016-02-13 02:13:57 -02:00
DarwinProcess.h CPU per process implemented 2015-08-19 13:52:57 -03:00
DarwinProcessList.c Check for failure in allocations. 2016-02-02 15:53:02 +01:00
DarwinProcessList.h Darwin: replace vm_statistics64_* with vm_statistics_* 2016-01-13 20:57:29 +01:00
Platform.c Check for failure in allocations. 2016-02-02 15:53:02 +01:00
Platform.h Introduce CLAMP macro. Unify all MIN(MAX(a,b),c) uses. 2016-01-15 20:26:01 +08:00