Date: Tue, 16 Nov 1999 19:25:55 -0800 (PST) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/top machine.c Message-ID: <199911170325.TAA54398@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1999/11/16 19:25:55 PST
Modified files:
usr.bin/top machine.c
Log:
Fixed sorting on time. On i386's, time differences of more than 2147
seconds caused overflow. Use a type-safe but slightly slower comparison.
Comparisons for other fields are still fragile.
Fixed rounding of cputime (don't do extra work to get it slightly wrong
by first converting without rounding to milliseconds).
Removed dead code for setting cputime.
Fixed comments about cputime.
Revision Changes Path
1.28 +10 -10 src/usr.bin/top/machine.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911170325.TAA54398>
