Revision 6ee093c9 monitor.c

b/monitor.c
1164 1164
    }
1165 1165
    /* delayed key up events */
1166 1166
    qemu_mod_timer(key_timer, qemu_get_clock(vm_clock) +
1167
                    muldiv64(ticks_per_sec, hold_time, 1000));
1167
                   muldiv64(get_ticks_per_sec(), hold_time, 1000));
1168 1168
}
1169 1169

  
1170 1170
static int mouse_button_state;
......
1463 1463
    if (total == 0)
1464 1464
        total = 1;
1465 1465
    monitor_printf(mon, "async time  %" PRId64 " (%0.3f)\n",
1466
                   dev_time, dev_time / (double)ticks_per_sec);
1466
                   dev_time, dev_time / (double)get_ticks_per_sec());
1467 1467
    monitor_printf(mon, "qemu time   %" PRId64 " (%0.3f)\n",
1468
                   qemu_time, qemu_time / (double)ticks_per_sec);
1468
                   qemu_time, qemu_time / (double)get_ticks_per_sec());
1469 1469
    qemu_time = 0;
1470 1470
    dev_time = 0;
1471 1471
}

Also available in: Unified diff