Commit fcc5e942 authored by Dezhi Huang's avatar Dezhi Huang Committed by Carlos Llamas
Browse files

ANDROID: sched: Add parameter to android_rvh_schedule.



Checking whether the ui and render threads are preempted
during frame drawing,then adjusting the prority and core
selection if they are preempted,because we expect the
threads to be executed first.By introducing the
sched_mode parameter, we can check the prev thread
preemption status in the hook, and judging important
threads for executing business logic.

Bug: 285166029
Change-Id: I6af31dff4c9032940c7f1c991a25a49ebbeac7a8
Signed-off-by: default avatarDezhi Huang <huangdezhi@hihonor.com>
parent d4dd4d9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment