aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2007-10-07 00:24:31 -0700
committerLinus Torvalds <[email protected]>2007-10-07 16:28:43 -0700
commit74922be1485818ed368c4cf4f0b100f70bf01e08 (patch)
treeb283c44086bd83dc7c61dbed25218efd01cc46b0 /net/unix/sysctl_net_unix.c
parent0c2043abefacac97b6d01129c1123a466c95b7c1 (diff)
Fix timer_stats printout of events/sec
When using /proc/timer_stats on ppc64 I noticed the events/sec field wasnt accurate. Sometimes the integer part was incorrect due to rounding (we werent taking the fractional seconds into consideration). The fraction part is also wrong, we need to pad the printf statement and take the bottom three digits of 1000 times the value. Signed-off-by: Anton Blanchard <[email protected]> Acked-by: Ingo Molnar <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions