diff options
| author | Paolo Bonzini | 2015-01-28 10:09:55 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2015-02-02 16:55:11 +0100 |
| commit | a498d0ef37cf23e1776240af61f558d113afdf4f (patch) | |
| tree | 695645c1e3b82d6a47fd7ac99a412ec5828a27a0 /include | |
| parent | memory: avoid ref/unref in memory_region_find (diff) | |
| download | qemu-a498d0ef37cf23e1776240af61f558d113afdf4f.tar.gz qemu-a498d0ef37cf23e1776240af61f558d113afdf4f.tar.xz qemu-a498d0ef37cf23e1776240af61f558d113afdf4f.zip | |
cpu-exec: simplify align_clocks
sc->diff_clk is already equal to sleep_delay (split in a second and a
nanosecond part). If you subtract sleep_delay - rem_delay, the result
is exactly rem_delay.
Cc: Sebastian Tanase <sebastian.tanase@openwide.fr>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
