From: Sergey Smolov <smolov@ispras.ru>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] emulation cycle number implementation
Date: Thu, 07 Sep 2017 19:30:29 +0300 [thread overview]
Message-ID: <59B17425.1050701@ispras.ru> (raw)
Hello, List!
I'm running MIPS assembler programs on QEMU. I need to log some events
that happen through emulation (writes to some registers, for example).
When an event happens, I need to print not only the event-related
information, but an "emulation cycle number" also. This number should be
an integer increasing value that is similar to real hardware clock.
How to implement this in QEMU? May QEMU timers be helpful in solving
such a problem?
Thanks in advance.
--
Sincerely yours,
Sergey Smolov
next reply other threads:[~2017-09-07 16:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-07 16:30 Sergey Smolov [this message]
2017-09-07 16:37 ` [Qemu-devel] emulation cycle number implementation Peter Maydell
2017-09-08 7:41 ` Sergey Smolov
2017-09-08 9:07 ` Peter Maydell
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=59B17425.1050701@ispras.ru \
--to=smolov@ispras.ru \
--cc=qemu-devel@nongnu.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).