Skip to content
Commit 271e314b authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched: add sched_get_cpu_last_busy_time() API



sched_get_cpu_last_busy_time() returns the last time stamp when
a given CPU is busy with more than 2 runnable tasks or has load
greater than 50% of it's max capacity. The LPM driver can make
use of this API and create a policy to prevent a recently loaded
CPU entering deep sleep state.

This API is implemented only for the higher capacity CPUs in
the system. It returns 0 for other CPUs.

Change-Id: I97ef47970a71647f4f55f21165d0cc1351770a53
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent eb5b60ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment