projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9ed2c1
)
Comments.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 27 Sep 2004 04:31:40 +0000
(
04:31
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 27 Sep 2004 04:31:40 +0000
(
04:31
+0000)
Make print_stats() message consistent with others.
src/devices/timer.c
patch
|
blob
|
history
diff --git
a/src/devices/timer.c
b/src/devices/timer.c
index 8f47c810ffc8af5a1c6804933fad710929450318..ec9778321e3339aa2f32bb5496ece5e71a5ea969 100644
(file)
--- a/
src/devices/timer.c
+++ b/
src/devices/timer.c
@@
-7,6
+7,8
@@
#include "threads/io.h"
#include "threads/thread.h"
+/* See [8254] for hardware details of the 8254 timer chip. */
+
#if TIMER_FREQ < 19
#error 8254 timer requires TIMER_FREQ >= 19
#endif
@@
-98,7
+100,7
@@
timer_ns2ticks (int64_t ns)
void
timer_print_stats (void)
{
- printf ("Timer: %"PRId64" ticks
.
\n", ticks);
+ printf ("Timer: %"PRId64" ticks\n", ticks);
}
\f
/* Timer interrupt handler. */