]> Git Repo - qemu.git/commit
hid: Change idle handling to use a timer
authorHans de Goede <[email protected]>
Fri, 14 Dec 2012 13:35:38 +0000 (14:35 +0100)
committerGerd Hoffmann <[email protected]>
Mon, 7 Jan 2013 11:57:24 +0000 (12:57 +0100)
commit027c03f7327faa696e1d876954a18b5214c18583
treee3cf765c7fddf3304ec994ab0dead4e5fc665289
parent9fdf70272702095f57efc51a80c79493fd0829b8
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 <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/hid.c
hw/hid.h
hw/usb/dev-hid.c
This page took 0.025938 seconds and 4 git commands to generate.