]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/block/accounting.h
block: Add average I/O queue depth to BlockDeviceTimedStats
[mirror_qemu.git] / include / block / accounting.h
index 1dd582a99afd430c1bfbad3b681ff38a18029e35..482926b8ec0801ede1bcb863817c935ca39a6eff 100644 (file)
@@ -78,5 +78,7 @@ void block_acct_invalid(BlockAcctStats *stats, enum BlockAcctType type);
 void block_acct_merge_done(BlockAcctStats *stats, enum BlockAcctType type,
                            int num_requests);
 int64_t block_acct_idle_time_ns(BlockAcctStats *stats);
+double block_acct_queue_depth(BlockAcctTimedStats *stats,
+                              enum BlockAcctType type);
 
 #endif