Date: Thu, 28 Jan 1999 20:54:38 +0100 From: Mattias Pantzare <pantzer@ludd.luth.se> To: "Kenneth D. Merry" <ken@plutotech.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Device statistics Message-ID: <199901281954.UAA05490@zed.ludd.luth.se> In-Reply-To: Your message of "Thu, 28 Jan 1999 12:43:07 MST." <199901281943.MAA75529@panzer.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > That means that I can't use the current time to subtreact from boot time, as > > that won't give the same time... > > > > If getmicrouptime was recorded in devstat when the sample is taken that > > would work to (even better). > > If you look at last_comp_time, that's the time of the most recent > transaction completion, as reported by getmicrouptime(). That time is not helping me. To calculate the percent of busy time I have to account for the ongoing transaction from start_time to the time that the sample was taken. The time of the most recent transaction is only relevant if it happend when I took my sample. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901281954.UAA05490>