Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff616f72 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

sched: fix potential deflated frequency estimation during IRQ handling



Time between mark_start of idle task and IRQ handler entry time is CPU
cycle counter stall period.  Therefore it's inappropriate to include such
duration as part of sample period when we do frequency estimation.

Fix such suboptimality by replenishing idle task's CPU cycle counter
upon IRQ entry and using irqtime as time delta.

Change-Id: I274d5047a50565cfaaa2fb821ece21c8cf4c991d
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent a87828a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment