Skip to contentSkip to conversation

[5571] Use qemu_gettimeofday.

Qemu-devel Paul Brook 1 participant 1 message Oct 29, 2008

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

Revision: 5571

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5571
Author:   pbrook
Date:     2008-10-29 14:37:18 +0000 (Wed, 29 Oct 2008)

Log Message:
-----------
Use qemu_gettimeofday.

Modified Paths:
--------------
trunk/qemu-tool.c

Modified: trunk/qemu-tool.c
===================================================================

qemu-tool.c +1 -1
@@ -82,6 +82,6 @@
 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;
 }