Revision 474ad834 qemu-tool.c
b/qemu-tool.c | ||
---|---|---|
82 | 82 |
int64_t qemu_get_clock(QEMUClock *clock) |
83 | 83 |
{ |
84 | 84 |
struct timeval tv; |
85 |
gettimeofday(&tv, NULL);
|
|
85 |
qemu_gettimeofday(&tv);
|
|
86 | 86 |
return (tv.tv_sec * 1000000000LL + (tv.tv_usec * 1000)) / 1000000; |
87 | 87 |
} |
Also available in: Unified diff