mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
python: Expose binding for virNodeGetCPUStats()
This patch adds binding for virNodeGetCPUStats method of libvirtd. Return value is represented as a python dictionary mapping field names to values.
This commit is contained in:
@@ -375,9 +375,11 @@ struct _virNodeInfo {
|
||||
/**
|
||||
* VIR_NODE_CPU_STATS_ALL_CPUS:
|
||||
*
|
||||
* Macro for the total CPU time/utilization
|
||||
* Value for specifying request for the total CPU time/utilization
|
||||
*/
|
||||
#define VIR_NODE_CPU_STATS_ALL_CPUS (-1)
|
||||
typedef enum {
|
||||
VIR_NODE_CPU_STATS_ALL_CPUS = -1,
|
||||
} virNodeGetCPUStatsAllCPUs;
|
||||
|
||||
/**
|
||||
* VIR_NODE_CPU_STATS_KERNEL:
|
||||
|
||||
Reference in New Issue
Block a user