mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
Catch up to new proc flags.
This commit is contained in:
parent
7ed5e54567
commit
ad7b044802
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71588
@ -202,7 +202,7 @@ fetchpigs()
|
||||
pt[i].pt_kp = &kpp[i];
|
||||
pctp = &pt[i].pt_pctcpu;
|
||||
time = kpp[i].ki_swtime;
|
||||
if (time == 0 || (kpp[i].ki_flag & P_INMEM) == 0)
|
||||
if (time == 0 || (kpp[i].ki_sflag & PS_INMEM) == 0)
|
||||
*pctp = 0;
|
||||
else
|
||||
*pctp = ((double) kpp[i].ki_pctcpu /
|
||||
|
Loading…
Reference in New Issue
Block a user