diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-03-07 11:04:00 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-06 10:50:37 +0200 |
commit | f793dde0914ae7f2605ee22c5bbc81dc79e23eee (patch) | |
tree | af62c611c5d4f73d9a87bc8ec84d2ae5265e9d8d /util/oslib-win32.c | |
parent | 287698e50fb2340d9f6436976ac701512cb7c383 (diff) | |
download | qemu-f793dde0914ae7f2605ee22c5bbc81dc79e23eee.zip qemu-f793dde0914ae7f2605ee22c5bbc81dc79e23eee.tar.gz qemu-f793dde0914ae7f2605ee22c5bbc81dc79e23eee.tar.bz2 |
Replace qemu_gettimeofday() with g_get_real_time()
GLib g_get_real_time() is an alternative to gettimeofday() which allows
to simplify our code.
For semihosting, a few bits are lost on POSIX host, but this shouldn't
be a big concern.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220307070401.171986-5-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/oslib-win32.c')
0 files changed, 0 insertions, 0 deletions