Revision c57c846a qemu-tool.c

b/qemu-tool.c
110 110
{
111 111
    return 0;
112 112
}
113

  
114
int64_t qemu_get_clock(QEMUClock *clock)
115
{
116
    qemu_timeval tv;
117
    qemu_gettimeofday(&tv);
118
    return (tv.tv_sec * 1000000000LL + (tv.tv_usec * 1000)) / 1000000;
119
}

Also available in: Unified diff