systat(1): vmstat: dinfo(): compute rates using real elapsed time
authorcheloha <cheloha@openbsd.org>
Wed, 28 Dec 2022 20:49:05 +0000 (20:49 +0000)
committercheloha <cheloha@openbsd.org>
Wed, 28 Dec 2022 20:49:05 +0000 (20:49 +0000)
commit168c28e78e7655843a32f776700d8b87063224ad
tree7e044b88cfec9d6d0fb92ba9261ff0a95cae2fe4
parent744ba8024bacc06e9eb179030527f8bb55d04da8
systat(1): vmstat: dinfo(): compute rates using real elapsed time

The "naptime" value is not the real elapsed time.  But showkre() has
the real elapsed time, "etime", so pass that as argument to dinfo().

Link: https://marc.info/?l=openbsd-tech&m=167095169115427&w=2
ok millert@
usr.bin/systat/vmstat.c