[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Qemu-devel] high resolution timer question
From: |
Arnon Gilboa |
Subject: |
RE: [Qemu-devel] high resolution timer question |
Date: |
Mon, 10 Dec 2007 07:16:00 -0800 |
The usb host controller emulations in qemu (usb-uhci & usb-ohci) use
QEMUTimer for 1 millisecond timer.
This precise interval is required for generating usb 1.1 frames.
I currently implement usb 2.0 host controller emulation for qemu
(usb-ehci).
It uses QEMUTimer for generating usb 2.0 microframes of 125 microsecond.
This resolution worked precisely only after compiling the host kernel
with high resolution timers and dynamic ticks.
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Robert Reif
Sent: Monday, December 10, 2007 3:00 PM
To: address@hidden
Subject: [Qemu-devel] high resolution timer question
Writing data to a serial port on the sparc emulation happens
immediately.
I would like to throttle the write speed to match the actual baud rate.
What's the best way to do this in qemu? Will QEMUTimer work for a
1 millisecond timer?