projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5ceb24
)
Use qemu_gettimeofday.
author
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 29 Oct 2008 14:37:18 +0000
(14:37 +0000)
committer
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 29 Oct 2008 14:37:18 +0000
(14:37 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5571
c046a42c
-6fe2-441c-8c8c-
71466251a162
qemu-tool.c
patch
|
blob
|
history
diff --git
a/qemu-tool.c
b/qemu-tool.c
index 87cc2949b2291b9d50af5ca750601685fc78db9b..74d4b4f80eeb62b100e9a95018ea8218879ed1b7 100644
(file)
--- 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;
}