Date: Fri, 17 Aug 2001 22:47:00 -0700 (PDT) From: "Kenneth D. Merry" <ken@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdevstat devstat.3 devstat.c devstat.h Message-ID: <200108180547.f7I5l0n02015@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ken 2001/08/17 22:47:00 PDT
Modified files:
lib/libdevstat devstat.3 devstat.c devstat.h
Log:
Implement compute_stats() in terms of devstat_compute_statistics(). This
gets rid of the duplicated code in compute_stats().
Add a new DSM_SKIP statistic type for devstat_compute_statistics() that
causes the subsequent variable argument to be skipped.
Thanks to Sergey Osokin for coding up my idea/code fragment.
Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
Revision Changes Path
1.16 +13 -1 src/lib/libdevstat/devstat.3
1.8 +29 -105 src/lib/libdevstat/devstat.c
1.5 +2 -1 src/lib/libdevstat/devstat.h
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?200108180547.f7I5l0n02015>
