diff options
author | Sebastian Macke <sebastian@macke.de> | 2013-10-22 02:12:41 +0200 |
---|---|---|
committer | Jia Liu <proljc@gmail.com> | 2013-11-20 21:46:45 +0800 |
commit | d51552176a2ab5e80a211514aa1339fe2575ec2a (patch) | |
tree | f272c169ec8acfdd998b69d7d4eb1ab9af58708d /qom | |
parent | ae52bd96ceaea36c486d8ffeb798e160f31d3be8 (diff) | |
download | qemu-d51552176a2ab5e80a211514aa1339fe2575ec2a.zip qemu-d51552176a2ab5e80a211514aa1339fe2575ec2a.tar.gz qemu-d51552176a2ab5e80a211514aa1339fe2575ec2a.tar.bz2 |
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 'qom')
0 files changed, 0 insertions, 0 deletions