diff options
author | Laurent Vivier <lvivier@redhat.com> | 2015-08-25 17:24:39 +0200 |
---|---|---|
committer | Laurent Vivier <lvivier@redhat.com> | 2015-09-25 14:56:38 +0200 |
commit | ab60b7485cece312ad9c21327ee678f0f9898fb5 (patch) | |
tree | 9b48212588eb3d2d288f3c1030376788d4de662a /net/tap-aix.c | |
parent | fdfea124f9e12232f99d9f235267ca1eeeb23469 (diff) | |
download | hqemu-ab60b7485cece312ad9c21327ee678f0f9898fb5.zip hqemu-ab60b7485cece312ad9c21327ee678f0f9898fb5.tar.gz |
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 'net/tap-aix.c')
0 files changed, 0 insertions, 0 deletions