android_kernel_oneplus_msm8998/include/trace
Srinivas Rao L 09372fb316 cpuidle: lpm-levels: Consider history during LPM selection
Consider recent history (residencies) of the low power modes per
core while the next low power mode to enter is selected. If most
of the history says the pattern of residencies is repeating with
minimal deviation then use the average of these for predicting
the next mode to enter.

If the pattern is not repeating then if more than 50 percent of
the samples out of history have exited a low power mode earlier
than the minumim residency of that mode, restrict it and also low
power modes deeper than that.

In any of the above case, trigger a hrtimer to wakeup cpu with
timeout as predicted+delta or max residency of the mode selected
if a deeper state can be selected after waking up incase if
prediction goes wrong.

Change-Id: I902a06939e19ac51dfd8c2db6b727b203ebfda14
Signed-off-by: Srinivas Rao L <lsrao@codeaurora.org>
2016-10-06 14:49:34 -06:00
..
events cpuidle: lpm-levels: Consider history during LPM selection 2016-10-06 14:49:34 -06:00
define_trace.h tracing: Allow disabling compilation of specific trace systems 2015-10-20 21:55:44 -04:00
perf.h tracing: Move non perf code out of perf.h 2015-09-23 09:31:34 -04:00
syscall.h
trace_events.h coresight: enable stm logging for trace events, marker and printk 2016-05-24 14:15:31 -07:00
trace_thermal.h drivers: thermal: Add ftrace events for LMH DCVSh mitigation 2016-06-07 16:06:08 -07:00