android_kernel_xiaomi_sm8350/kernel/time
Anton Blanchard 74922be148 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 <anton@samba.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-07 16:28:43 -07:00
..
clockevents.c timer: remove clockevents_unregister_notifier 2007-08-11 15:47:42 -07:00
clocksource.c clocksource: fix lock order in the resume path 2007-05-15 08:54:00 -07:00
jiffies.c
Kconfig
Makefile Move timekeeping code to timekeeping.c 2007-05-08 11:15:06 -07:00
ntp.c Fix "no_sync_cmos_clock" logic inversion in kernel/time/ntp.c 2007-09-11 17:21:27 -07:00
tick-broadcast.c clockevents: remove the suspend/resume workaround^Wthinko 2007-09-22 17:15:34 -07:00
tick-common.c clockevents: fix resume logic 2007-07-21 17:49:15 -07:00
tick-internal.h highres/dyntick: prevent xtime lock contention 2007-05-08 11:15:10 -07:00
tick-oneshot.c highres: improve debug output 2007-07-21 17:49:15 -07:00
tick-sched.c clockevents: prevent stale tick update on offline cpu 2007-09-16 15:36:43 +02:00
timekeeping.c timekeeping: Prevent time going backwards on resume 2007-09-16 15:36:43 +02:00
timer_list.c Fix leaks on /proc/{*/sched,sched_debug,timer_list,timer_stats} 2007-07-31 15:39:40 -07:00
timer_stats.c Fix timer_stats printout of events/sec 2007-10-07 16:28:43 -07:00