qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] emulation cycle number implementation
@ 2017-09-07 16:30 Sergey Smolov
  2017-09-07 16:37 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Sergey Smolov @ 2017-09-07 16:30 UTC (permalink / raw)
  To: QEMU Developers

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

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

end of thread, other threads:[~2017-09-08  9:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-07 16:30 [Qemu-devel] emulation cycle number implementation Sergey Smolov
2017-09-07 16:37 ` Peter Maydell
2017-09-08  7:41   ` Sergey Smolov
2017-09-08  9:07     ` Peter Maydell

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).