Good day I implementing in virsh more detailed output for domains (https://bugzilla.redhat.com/show_bug.cgi?id=595428). And i stuck with CPU usage percentage calculation. How virt manager calculate cpu percentage? I tried to read virt-manager sources, but it is hard for me to understand virt-manager (i am not familiar with python). I found function "_sample_cpu_stats" in file src/virtManager/domain.py and i think this function make calculations. But i may be wrong Please, describe logic, how virt-manager calculate cpu usage Thanks -- With best wishes, Maxim Sditanov