xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* How to find out how much cpu time each domain used?
@ 2016-07-04 20:09 Amin Fallahi
  2016-07-13  8:07 ` Dario Faggioli
  0 siblings, 1 reply; 2+ messages in thread
From: Amin Fallahi @ 2016-07-04 20:09 UTC (permalink / raw)
  To: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 431 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-13  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-04 20:09 How to find out how much cpu time each domain used? Amin Fallahi
2016-07-13  8:07 ` Dario Faggioli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).