commit | 274dfed8ba1357496a549d21e94080bca2f7fcb4 | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Fri Sep 11 10:28:26 2009 -0500 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Sep 11 11:10:05 2009 -0500 |
tree | 115bf888dc420dfc85af33655d6cc4568d4860b6 | |
parent | 2faf58cd0b4d1891355e48bf2fca964af5eac941 [diff] |
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>