mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-05 02:43:24 -05:00
util: virHostCPUGetStatsLinux: support VIR_NODE_CPU_STATS_GUEST
it is very useful for platforms to know how much time a node is spending running guests. Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
committed by
Michal Privoznik
parent
317626fae9
commit
b5878727c7
@@ -267,6 +267,16 @@ typedef enum {
|
||||
*/
|
||||
# define VIR_NODE_CPU_STATS_INTR "intr"
|
||||
|
||||
/**
|
||||
* VIR_NODE_CPU_STATS_GUEST:
|
||||
*
|
||||
* The cumulative CPU time spent running guests,
|
||||
* since the node booting up (in nanoseconds).
|
||||
*
|
||||
* Since: 11.8.0
|
||||
*/
|
||||
# define VIR_NODE_CPU_STATS_GUEST "guest"
|
||||
|
||||
/**
|
||||
* VIR_NODE_CPU_STATS_UTILIZATION:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user