aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2015-08-25 17:24:39 +0200
committerLaurent Vivier <lvivier@redhat.com>2015-09-25 14:56:38 +0200
commitab60b7485cece312ad9c21327ee678f0f9898fb5 (patch)
tree9b48212588eb3d2d288f3c1030376788d4de662a /qemu-nbd.c
parentfdfea124f9e12232f99d9f235267ca1eeeb23469 (diff)
net: remove muldiv64()
muldiv64() is used to convert nanoseconds to microseconds. x = muldiv64(qemu_clock_get_ns(..), 1000000, get_ticks_per_sec()); As get_ticks_per_sec() is 10^9, it can be replaced by: x = qemu_clock_get_us(..); Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions