mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
C99 64 bit printf
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2018 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
3b42c9794c
commit
26a76461f2
25 changed files with 67 additions and 64 deletions
2
vl.c
2
vl.c
|
@ -912,7 +912,7 @@ static void host_alarm_handler(int host_signum)
|
|||
delta_max = delta;
|
||||
delta_cum += delta;
|
||||
if (++count == DISP_FREQ) {
|
||||
printf("timer: min=%lld us max=%lld us avg=%lld us avg_freq=%0.3f Hz\n",
|
||||
printf("timer: min=%" PRId64 " us max=%" PRId64 " us avg=%" PRId64 " us avg_freq=%0.3f Hz\n",
|
||||
muldiv64(delta_min, 1000000, ticks_per_sec),
|
||||
muldiv64(delta_max, 1000000, ticks_per_sec),
|
||||
muldiv64(delta_cum, 1000000 / DISP_FREQ, ticks_per_sec),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue