mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 23:15:46 +00:00
b7b66b76a5
Adds support for showing columns with linux delay accounting. This information can be read from the netlink interface, and thus we set up a socket to read from that when initializing the LinuxProcessList (LinuxProcessList_initNetlinkSocket). After that, for each process we call LinuxProcessList_readDelayAcctData, which sends a message thru the socket after setting up a callback to get the answer from the Kernel. That callback sets the process total delay time attribute. We then set the delay percent as the percentage of time process cpu time since last scan. |
||
---|---|---|
.. | ||
Battery.c | ||
Battery.h | ||
IOPriority.c | ||
IOPriority.h | ||
IOPriorityPanel.c | ||
IOPriorityPanel.h | ||
LinuxCRT.c | ||
LinuxCRT.h | ||
LinuxProcess.c | ||
LinuxProcess.h | ||
LinuxProcessList.c | ||
LinuxProcessList.h | ||
Platform.c | ||
Platform.h |