From: Jidong Xiao <jidong.xiao@gmail.com>
To: virtualization@lists.linux-foundation.org
Subject: How to measure time for program running in guest OS?
Date: Mon, 23 Jan 2012 23:09:08 -0500 [thread overview]
Message-ID: <CAG4AFWaYdhP85ctnqPuOB0vN=r1_XjzJeK0Q+LBqe76Fm3Stpw@mail.gmail.com> (raw)
Hi,
I am running a guest OS (Fedora 16) with kvm (The host is
OpenSuse11.3), and now I have a program running inside the guest OS
and I want to measure how long the program will run. The accuracy I
need is microsecond. Since we are in the virtualization environment, I
wonder how can we measure the time duration accurately. Can anyone
give me some suggestions, thank you!!
Regards
Jidong
reply other threads:[~2012-01-24 4:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CAG4AFWaYdhP85ctnqPuOB0vN=r1_XjzJeK0Q+LBqe76Fm3Stpw@mail.gmail.com' \
--to=jidong.xiao@gmail.com \
--cc=virtualization@lists.linux-foundation.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).