mirror of https://github.com/xzeldon/htop.git
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;
|
proc->priority = kproc->ki_pri.pri_level - PZERO;
|
||||||
|
|
||||||
if (String_eq("intr", kproc->ki_comm) && (kproc->ki_flag & P_SYSTEM)) {
|
if (String_eq("intr", kproc->ki_comm) && (kproc->ki_flag & P_SYSTEM)) {
|
||||||
|
|
Loading…
Reference in New Issue