]> git.proxmox.com Git - qemu.git/blobdiff - block_int.h
block: add I/O throttling algorithm
[qemu.git] / block_int.h
index 97b1c2be54516cd9fd94a95a1315a5ad8ece59ea..e2799e4f6b1e93a827c34fb5a72d745f265cbf2f 100644 (file)
@@ -39,6 +39,7 @@
 #define BLOCK_IO_LIMIT_TOTAL    2
 
 #define BLOCK_IO_SLICE_TIME     100000000
+#define NANOSECONDS_PER_SECOND  1000000000.0
 
 #define BLOCK_OPT_SIZE          "size"
 #define BLOCK_OPT_ENCRYPT       "encryption"