diff options
author | Marc-André Lureau | 2022-03-07 08:03:58 +0100 |
---|---|---|
committer | Paolo Bonzini | 2022-04-06 10:50:37 +0200 |
commit | 20e4ae117a868c77e3e84147bd1708cdf159f8be (patch) | |
tree | 4b14bd0c11f97ae0d7527fd657527d9d9c10e951 /bsd-user/trace.h | |
parent | qapi, target/i386/sev: Add cpu0-id to query-sev-capabilities (diff) | |
download | qemu-20e4ae117a868c77e3e84147bd1708cdf159f8be.tar.gz qemu-20e4ae117a868c77e3e84147bd1708cdf159f8be.tar.xz qemu-20e4ae117a868c77e3e84147bd1708cdf159f8be.zip |
qtest: replace gettimeofday with GTimer
glib provides a convenience helper to measure elapsed time. It isn't
subject to wall-clock time changes.
Note that this changes the initial OPENED time, which used to print the
current time.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220307070401.171986-3-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'bsd-user/trace.h')
0 files changed, 0 insertions, 0 deletions