The new disk latency related members include:
rd_total_times
wr_total_times
flush_operations
flush_total_times
---
include/libvirt/libvirt.h.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index b1bda31..cf6bf60 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -562,8 +562,12 @@ typedef struct _virDomainBlockStats virDomainBlockStatsStruct;
struct _virDomainBlockStats {
long long rd_req; /* number of read requests */
long long rd_bytes; /* number of read bytes */
+ long long rd_total_times; /* total time spend on cache reads in nano-seconds */
long long wr_req; /* number of write requests */
long long wr_bytes; /* number of written bytes */
+ long long wr_total_times; /* total time spend on cache writes in nano-seconds */
+ long long flush_req; /* number of flushed bytes */
+ long long flush_total_times; /* total time spend on cache flushes in nano-seconds */
long long errs; /* In Xen this returns the mysterious 'oo_req'. */
};
--
1.7.6