X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fcollect.mli;h=3c5492fd2114dd53a8801fabd0d90aac4b494134;hb=9c8d3ba8382df450392a8c78ab45fc263742096c;hp=440859be7d9768c3694e409e4a79d5db46f85781;hpb=90d14bc151e488972d33eefaac2242d9a6e07578;p=virt-top.git diff --git a/src/collect.mli b/src/collect.mli index 440859b..3c5492f 100644 --- a/src/collect.mli +++ b/src/collect.mli @@ -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