From: Amin Fallahi <amin.fallahi@gmail.com>
To: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: How to find out how much cpu time each domain used?
Date: Mon, 04 Jul 2016 20:09:10 +0000 [thread overview]
Message-ID: <CAF-KA8-YRtCGBeBAw17OK_m-zTSO2zDem4cmvS6LdKnJTmBsyA@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2016-07-04 20:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-04 20:09 Amin Fallahi [this message]
2016-07-13 8:07 ` How to find out how much cpu time each domain used? Dario Faggioli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAF-KA8-YRtCGBeBAw17OK_m-zTSO2zDem4cmvS6LdKnJTmBsyA@mail.gmail.com \
--to=amin.fallahi@gmail.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).