mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-26 15:55:46 +00:00
FreeBSD: populate processor field
This commit is contained in:
parent
79620d01c0
commit
8c43856380
@ -521,6 +521,8 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
|
||||
* }
|
||||
*/
|
||||
|
||||
proc->processor = kproc->ki_lastcpu;
|
||||
|
||||
proc->priority = kproc->ki_pri.pri_level - PZERO;
|
||||
|
||||
if (String_eq("intr", kproc->ki_comm) && (kproc->ki_flag & P_SYSTEM)) {
|
||||
|
Loading…
Reference in New Issue
Block a user