search for: vcpu10

Displaying 1 result from an estimated 1 matches for "vcpu10".

Did you mean: vcpu0
2005 Aug 08
1
[PATCH] Fix domain CPU time calculation to count all VCPU times correctly
...its VCPU times using the code: if ( v->cpu_time > cpu_time ) cpu_time += v->cpu_time; This causes a VCPU''s time to only be counted if it is greater than the current total; so if VCPU0 has 10 seconds and VCPU1 has 5, the total will be 10, but if VCPU0 has 5 and VCPU10 has 10, the total will be 15. Is there a reason for this behavior? It seems more useful and intuitive to always total the VCPU times to obtain the CPU time. The attached patch removes the conditional, so that all VCPU times for a domain are always totaled to obtain the CPU time for that domain....