summaryrefslogtreecommitdiffstats
path: root/hw/hw.h
diff options
context:
space:
mode:
authorAnthony Liguori2009-09-11 17:28:26 +0200
committerAnthony Liguori2009-09-11 18:10:05 +0200
commit274dfed8ba1357496a549d21e94080bca2f7fcb4 (patch)
tree115bf888dc420dfc85af33655d6cc4568d4860b6 /hw/hw.h
parenttimers: move them to VMState (diff)
downloadqemu-274dfed8ba1357496a549d21e94080bca2f7fcb4.tar.gz
qemu-274dfed8ba1357496a549d21e94080bca2f7fcb4.tar.xz
qemu-274dfed8ba1357496a549d21e94080bca2f7fcb4.zip
Make get_ticks_per_sec() a static inline
ticks_per_sec is a constant. There's no need to store it as a variable as it never changes since our time is based on units. Convert get_ticks_per_sec() to a static inline and move the constant into qemu-timer.h. Remove all references to QEMU_TIMER_BASE so that we consistently use this interface. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/hw.h')
0 files changed, 0 insertions, 0 deletions