Wang Huaqiang
a91ebc8990
qemu: Report cache occupancy (CMT) with domstats
Adding the interface in qemu to report CMT statistic information
through command 'virsh domstats --cpu-total'.
Below is a typical output:
# virsh domstats 1 --cpu-total
Domain: 'ubuntu16.04-base'
...
cpu.cache.monitor.count=2
cpu.cache.monitor.0.name=vcpus_1
cpu.cache.monitor.0.vcpus=1
cpu.cache.monitor.0.bank.count=2
cpu.cache.monitor.0.bank.0.id=0
cpu.cache.monitor.0.bank.0.bytes=4505600
cpu.cache.monitor.0.bank.1.id=1
cpu.cache.monitor.0.bank.1.bytes=5586944
cpu.cache.monitor.1.name=vcpus_4-6
cpu.cache.monitor.1.vcpus=4,5,6
cpu.cache.monitor.1.bank.count=2
cpu.cache.monitor.1.bank.0.id=0
cpu.cache.monitor.1.bank.0.bytes=17571840
cpu.cache.monitor.1.bank.1.id=1
cpu.cache.monitor.1.bank.1.bytes=29106176
Signed-off-by: Wang Huaqiang <huaqiang.wang@intel.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-11-26 19:33:01 -05:00
..
2018-01-11 18:53:04 +01:00
2018-05-10 14:59:15 -04:00
2018-09-20 10:16:39 +02:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2018-04-24 10:46:41 +02:00
2018-04-12 16:52:01 +01:00
2018-08-24 10:52:41 +02:00
2018-07-12 17:23:15 +02:00
2018-07-12 17:23:15 +02:00
2018-09-20 10:16:39 +02:00
2015-08-14 15:45:44 +02:00
2018-11-19 07:26:40 -05:00
2015-08-14 15:45:44 +02:00
2018-11-19 07:26:40 -05:00
2018-05-24 13:36:32 +02:00
2018-03-08 16:51:31 +01:00
2018-05-28 15:59:10 +02:00
2012-09-20 16:30:55 -06:00
2018-09-24 09:09:14 +02:00
2017-11-03 13:24:12 +01:00
2018-09-24 09:09:14 +02:00
2017-11-03 13:24:12 +01:00
2018-05-24 15:26:10 +02:00
2018-05-24 15:26:10 +02:00
2018-09-24 09:09:14 +02:00
2018-06-26 11:22:07 +01:00
2018-09-24 09:09:14 +02:00
2018-05-24 15:26:02 +02:00
2018-09-24 09:09:14 +02:00
2018-05-24 13:32:25 +02:00
2018-09-24 09:09:14 +02:00
2012-09-20 16:30:55 -06:00
2018-06-05 18:44:05 +02:00
2017-05-18 07:42:13 +02:00
2018-09-24 09:09:14 +02:00
2017-11-03 13:24:12 +01:00
2018-09-20 10:16:39 +02:00
2018-09-26 17:22:38 +02:00
2018-11-26 19:33:01 -05:00
2018-01-11 18:53:04 +01:00
2018-01-11 18:53:04 +01:00
2018-09-24 13:39:58 +02:00
2015-12-21 10:07:59 +01:00
2017-10-16 10:22:34 +01:00
2018-09-20 10:16:38 +02:00
2017-03-11 21:22:58 +04:00
2018-10-08 09:55:40 +02:00
2018-10-05 15:53:29 +02:00
2018-10-05 15:53:29 +02:00
2016-05-11 09:06:32 +02:00
2018-10-05 15:53:29 +02:00
2016-05-11 09:06:32 +02:00
2018-09-20 10:16:39 +02:00
2017-10-16 10:22:34 +01:00
2018-09-20 10:16:39 +02:00
2016-06-10 11:03:02 +01:00
2017-10-16 10:22:34 +01:00
2018-02-08 18:05:05 +01:00
2017-10-16 10:22:34 +01:00
2016-04-25 15:40:43 +02:00
2017-10-16 10:22:34 +01:00
2018-07-19 16:16:57 -04:00
2018-07-19 16:16:57 -04:00
2018-09-20 10:16:39 +02:00
2018-08-24 10:52:41 +02:00
2018-10-12 09:30:56 -05:00
2018-09-20 10:16:39 +02:00