Update translation files
[virt-top.git] / src / collect.mli
index 440859b..3c5492f 100644 (file)
@@ -27,6 +27,7 @@ val parse_device_xml :
 type rd_domain = Inactive | Active of rd_active
 and rd_active = {
   rd_domid : int;                      (* Domain ID. *)
+  rd_domuuid : Libvirt.uuid;            (* Domain UUID. *)
   rd_dom : [`R] Libvirt.Domain.t;       (* Domain object. *)
   rd_info : Libvirt.Domain.info;        (* Domain CPU info now. *)
   rd_block_stats : (string * Libvirt.Domain.block_stats) list;
@@ -48,10 +49,6 @@ and rd_active = {
   rd_block_wr_reqs : int64 option;      (* Number of block device write rqs. *)
   rd_block_rd_bytes : int64 option;     (* Number of bytes block device read *)
   rd_block_wr_bytes : int64 option;     (* Number of bytes block device write *)
-  (* _info fields includes the number considering --block_in_bytes option *)
-  rd_block_rd_info : int64 option;      (* Block device read info for user *)
-  rd_block_wr_info : int64 option;      (* Block device read info for user *)
-
   rd_net_rx_bytes : int64 option;      (* Number of bytes received. *)
   rd_net_tx_bytes : int64 option;      (* Number of bytes transmitted. *)
 }
@@ -75,7 +72,7 @@ type pcpu_stats = {
   rd_pcpu_pcpus_cpu_time : float array
 }
 
-val collect : Types.setup -> bool -> stats
+val collect : Types.setup -> stats
 (** Collect statistics. *)
 
 val collect_pcpu : stats -> pcpu_stats