diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-04-19 07:42:13 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-04-19 07:42:13 +0000 |
| commit | 0b1b370c474ad9bbf2c009e24f0642ef27a7c1be (patch) | |
| tree | 3579142a8a2d21dfcf87aca7f52baf9eb20b556d /lib | |
| parent | 85030e713b0e98ae2b4327adf93c270f300f2bdb (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libdevstat/devstat.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libdevstat/devstat.c b/lib/libdevstat/devstat.c index 93cb0cb3a822..aa635379d4c9 100644 --- a/lib/libdevstat/devstat.c +++ b/lib/libdevstat/devstat.c @@ -47,6 +47,14 @@ __FBSDID("$FreeBSD$"); #include "devstat.h" +int +compute_stats(struct devstat *current, struct devstat *previous, + long double etime, u_int64_t *total_bytes, + u_int64_t *total_transfers, u_int64_t *total_blocks, + long double *kb_per_transfer, long double *transfers_per_second, + long double *mb_per_second, long double *blocks_per_second, + long double *ms_per_transaction); + typedef enum { DEVSTAT_ARG_NOTYPE, DEVSTAT_ARG_UINT64, |
