[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] How to find out how much cpu time each domain used?



Dear all

I am modifying credit scheduler and I want to give credit to each vcpu based on cpu time which its domain has consumed.
Suppose:
credit_fair =((credit_total*sdom->weight)+(weight_total-1))/weight_total

I want to multiply something to this formula according to the domain cpu usage. Thus I need to somehow find out cpu time for each domain.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.