X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdevices%2Ftimer.c;h=c8c41d55cf412948eb71a04b52c748f0c554465d;hb=02e41fa61ec13cf2c59c9632bb67dcc2168c2c01;hp=24eede0e247e8c1f389be38f129dda96d81ffb80;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;p=pintos-anon diff --git a/src/devices/timer.c b/src/devices/timer.c index 24eede0..c8c41d5 100644 --- a/src/devices/timer.c +++ b/src/devices/timer.c @@ -123,7 +123,7 @@ timer_nsleep (int64_t ns) void timer_print_stats (void) { - printf ("Timer: %"PRId64" ticks\n", ticks); + printf ("Timer: %"PRId64" ticks\n", timer_ticks ()); } /* Timer interrupt handler. */