aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-pci.c
diff options
context:
space:
mode:
authorSebastian Macke <sebastian@macke.de>2013-10-22 02:12:41 +0200
committerJia Liu <proljc@gmail.com>2013-11-20 21:46:45 +0800
commitd51552176a2ab5e80a211514aa1339fe2575ec2a (patch)
treef272c169ec8acfdd998b69d7d4eb1ab9af58708d /hw/virtio/virtio-pci.c
parentae52bd96ceaea36c486d8ffeb798e160f31d3be8 (diff)
openrisc-timer: Reduce overhead, Separate clock update functions
The clock value is only evaluated when really necessary reducing the overhead of the timer handling. This also solves a problem in the way the Linux kernel handles the timer and the expected accuracy. The old version could lead to inaccurate timings. Signed-off-by: Sebastian Macke <sebastian@macke.de> Reviewed-by: Jia Liu <proljc@gmail.com> Signed-off-by: Jia Liu <proljc@gmail.com>
Diffstat (limited to 'hw/virtio/virtio-pci.c')
0 files changed, 0 insertions, 0 deletions