summary refs log tree commit diff stats
path: root/qapi/string-output-visitor.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-05-24 13:34:02 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-06-07 10:02:23 +0200
commit3a21532626bb5c3ecb0f916843f75ccce6501a9d (patch)
tree0f659b8f070d029c5ff1535a9b9e3fc74213a00e /qapi/string-output-visitor.c
parent6ceced0b2ed52cdfb474d144dce54bf9afa613ce (diff)
downloadfocaccia-qemu-3a21532626bb5c3ecb0f916843f75ccce6501a9d.tar.gz
focaccia-qemu-3a21532626bb5c3ecb0f916843f75ccce6501a9d.zip
ehci: adaptive wakeup rate.
Adapt the frame timer sleeps according to the actual needs.  With the
periodic schedule being active we'll have to wakeup 1000 times per
second and go check for work.  In case only the async schedule is active
we can be more lazy though.  When idle ehci will increate the sleep time
step by step, so qemu has to wake up less frequently.  When we'll see
transactions on the bus or the guest fiddles with the schedule
enable/disable bits we'll return to a 1000 Hz wakeup rate and full
speed.  With both schedules disabled we stop wakeups altogether.

This patch also drops the freq property (configures wakeup rate
manually) which is obsoleted by this patch.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi/string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions