add qemu_get_clock_ns
commit41c872b6bf010a3033f3032cd41db6cab14173e6
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Jan 2010 08:31:46 +0000 (26 10:31 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Feb 2010 22:56:13 +0000 (9 16:56 -0600)
tree0de93043112e3128c1117affccc2b451abdae73f
parente970ec0b5e26d9f605f57e80818866baa6e769db
add qemu_get_clock_ns

Some places use get_clock directly because they want to access the
rt_clock with nanosecond precision.  Add a function to do exactly that
instead of using internal interfaces.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-timer.h
vl.c