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

Commit 116f3444 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

sched: fix overflow in scaled execution time calculation



Task execution time in nanoseconds and CPU cycle counters are large
enough to cause overflow when we multiply both.  Avoid overflow by
calculating frequency separately.

Change-Id: I076d9ecd27cb1c1f11578f009ebe1a19c1619454
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 7d2dfd06
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