summaryrefslogtreecommitdiff
path: root/hw/usb/core.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-12-14 14:35:38 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-01-07 12:57:24 +0100
commit027c03f7327faa696e1d876954a18b5214c18583 (patch)
treee3cf765c7fddf3304ec994ab0dead4e5fc665289 /hw/usb/core.c
parent9fdf70272702095f57efc51a80c79493fd0829b8 (diff)
downloadqemu-027c03f7327faa696e1d876954a18b5214c18583.tar.gz
hid: Change idle handling to use a timer
This leads to cleaner code in usb-hid, and removes up to a 1000 calls / sec to qemu_get_clock_ns(vm_clock) if idle-time is set to its default value of 0. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/core.c')
0 files changed, 0 insertions, 0 deletions