summaryrefslogtreecommitdiff
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorJoonwoo Park <joonwoop@codeaurora.org>2016-06-10 16:16:19 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-21 15:10:56 -0700
commit14ac5ed8b89b45207345f6e31c47d196a824e7ee (patch)
tree98c571ded2d93a6f305801149ede48f1f350a505 /kernel/sched/sched.h
parentc07e88c80f44d27752ca9c4ea36840742c835027 (diff)
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: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/sched/sched.h')
0 files changed, 0 insertions, 0 deletions