From: pbrook Date: Wed, 29 Oct 2008 14:37:18 +0000 (+0000) Subject: Use qemu_gettimeofday. X-Git-Tag: TizenStudio_2.0_p2.3~10655 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=783bd0575714468331139ca060682d42cf2ef4e4;p=sdk%2Femulator%2Fqemu.git Use qemu_gettimeofday. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5571 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/qemu-tool.c b/qemu-tool.c index 87cc294..74d4b4f8 100644 --- a/qemu-tool.c +++ b/qemu-tool.c @@ -82,6 +82,6 @@ int qemu_set_fd_handler2(int fd, int64_t qemu_get_clock(QEMUClock *clock) { struct timeval tv; - gettimeofday(&tv, NULL); + qemu_gettimeofday(&tv); return (tv.tv_sec * 1000000000LL + (tv.tv_usec * 1000)) / 1000000; }