Displaying 1 result from an estimated 1 matches for "dom0_getdomaininfo_t".
2005 Aug 08
1
[PATCH] Fix domain CPU time calculation to count all VCPU times correctly
Currently, the getdomaininfo function (used to fill in a
dom0_getdomaininfo_t for a domain) calculates a domain''s total CPU time
from 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 secon...