All of lore.kernel.org
 help / color / mirror / Atom feed
* Application of QEMUTimer in short timing.
@ 2021-09-07 11:26 Duo jia
  2021-09-07 12:19 ` Peter Maydell
  0 siblings, 1 reply; 5+ messages in thread
From: Duo jia @ 2021-09-07 11:26 UTC (permalink / raw)
  To: QEMU Developers

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

In the controller, QEMUTimer will be used in the implementation of timer
simulation.

I wrote an auto-loading timer with a period of 1ms and the clock source
used is QEMU_CLOCK_VIRTUAL. But it doesn't seem to be very accurate,
because the actual time after I accumulated it to 500 times took about
700ms.

I think qemu's code will consume some time, is it true?


thank you ~

[-- Attachment #2: Type: text/html, Size: 456 bytes --]

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

end of thread, other threads:[~2021-09-09 12:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 11:26 Application of QEMUTimer in short timing Duo jia
2021-09-07 12:19 ` Peter Maydell
2021-09-08  2:50   ` Duo jia
2021-09-08  9:46     ` Peter Maydell
2021-09-09 12:21       ` Duo jia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.