Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65306
b: refs/heads/master
c: 74922be
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Linus Torvalds committed Oct 7, 2007
1 parent 8732730 commit 98f7328
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c2043abefacac97b6d01129c1123a466c95b7c1
refs/heads/master: 74922be1485818ed368c4cf4f0b100f70bf01e08
5 changes: 3 additions & 2 deletions trunk/kernel/time/timer_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,9 @@ static int tstats_show(struct seq_file *m, void *v)
ms = 1;

if (events && period.tv_sec)
seq_printf(m, "%ld total events, %ld.%ld events/sec\n", events,
events / period.tv_sec, events * 1000 / ms);
seq_printf(m, "%ld total events, %ld.%03ld events/sec\n",
events, events * 1000 / ms,
(events * 1000000 / ms) % 1000);
else
seq_printf(m, "%ld total events\n", events);

Expand Down

0 comments on commit 98f7328

Please sign in to comment.