summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-18 16:44:10 +0000
committerphk <phk@FreeBSD.org>2003-03-18 16:44:10 +0000
commit9fab416cf490fb4553408c3a685091c2aa3b09ca (patch)
treed15597d4df5e28ab1ec20d4aefc19cc3d7fd1687
parent742fa97d3e009877e7aefd4059a43e8c0d5d92a0 (diff)
downloadFreeBSD-src-9fab416cf490fb4553408c3a685091c2aa3b09ca.zip
FreeBSD-src-9fab416cf490fb4553408c3a685091c2aa3b09ca.tar.gz
Commit ken@' changes to this file: Bump version and append new entries
to stay backwards compatible.
-rw-r--r--lib/libdevstat/devstat.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libdevstat/devstat.h b/lib/libdevstat/devstat.h
index 9c6a951..d688eb7 100644
--- a/lib/libdevstat/devstat.h
+++ b/lib/libdevstat/devstat.h
@@ -43,7 +43,7 @@
* backwards-compatible API changes, so application writers have a way to
* determine when a particular feature is available.
*/
-#define DEVSTAT_USER_API_VER 4
+#define DEVSTAT_USER_API_VER 5
#define DEVSTAT_ERRBUF_SIZE 2048 /* size of the devstat library error string */
@@ -61,12 +61,10 @@ typedef enum {
DSM_TOTAL_BYTES,
DSM_TOTAL_BYTES_READ,
DSM_TOTAL_BYTES_WRITE,
- DSM_TOTAL_BYTES_FREE,
DSM_TOTAL_TRANSFERS,
DSM_TOTAL_TRANSFERS_OTHER,
DSM_TOTAL_TRANSFERS_READ,
DSM_TOTAL_TRANSFERS_WRITE,
- DSM_TOTAL_TRANSFERS_FREE,
DSM_TOTAL_BLOCKS,
DSM_TOTAL_BLOCKS_READ,
DSM_TOTAL_BLOCKS_WRITE,
@@ -74,28 +72,30 @@ typedef enum {
DSM_KB_PER_TRANSFER,
DSM_KB_PER_TRANSFER_READ,
DSM_KB_PER_TRANSFER_WRITE,
- DSM_KB_PER_TRANSFER_FREE,
DSM_TRANSFERS_PER_SECOND,
DSM_TRANSFERS_PER_SECOND_OTHER,
DSM_TRANSFERS_PER_SECOND_READ,
DSM_TRANSFERS_PER_SECOND_WRITE,
- DSM_TRANSFERS_PER_SECOND_FREE,
DSM_MB_PER_SECOND,
DSM_MB_PER_SECOND_READ,
DSM_MB_PER_SECOND_WRITE,
- DSM_MB_PER_SECOND_FREE,
DSM_BLOCKS_PER_SECOND,
DSM_BLOCKS_PER_SECOND_READ,
DSM_BLOCKS_PER_SECOND_WRITE,
- DSM_BLOCKS_PER_SECOND_FREE,
DSM_MS_PER_TRANSACTION,
- DSM_MS_PER_TRANSACTION_OTHER,
DSM_MS_PER_TRANSACTION_READ,
DSM_MS_PER_TRANSACTION_WRITE,
+ DSM_SKIP,
+ DSM_TOTAL_BYTES_FREE,
+ DSM_TOTAL_TRANSFERS_FREE,
+ DSM_KB_PER_TRANSFER_FREE,
+ DSM_MB_PER_SECOND_FREE,
+ DSM_TRANSFERS_PER_SECOND_FREE,
+ DSM_BLOCKS_PER_SECOND_FREE,
+ DSM_MS_PER_TRANSACTION_OTHER,
DSM_MS_PER_TRANSACTION_FREE,
DSM_BUSY_PCT,
DSM_QUEUE_LENGTH,
- DSM_SKIP,
DSM_MAX
} devstat_metric;
OpenPOWER on IntegriCloud