diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-03-07 11:03:58 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-06 10:50:37 +0200 |
commit | 20e4ae117a868c77e3e84147bd1708cdf159f8be (patch) | |
tree | 4b14bd0c11f97ae0d7527fd657527d9d9c10e951 /qga/commands.c | |
parent | 811b4ec7f8eb3fb1fe9851848ab8e3cd926b9627 (diff) | |
download | qemu-20e4ae117a868c77e3e84147bd1708cdf159f8be.zip qemu-20e4ae117a868c77e3e84147bd1708cdf159f8be.tar.gz qemu-20e4ae117a868c77e3e84147bd1708cdf159f8be.tar.bz2 |
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 'qga/commands.c')
0 files changed, 0 insertions, 0 deletions