Skip to content
Commit 5531ecff authored by Shang XiaoJing's avatar Shang XiaoJing Committed by Peter Zijlstra
Browse files

sched: Add update_current_exec_runtime helper



Wrap repeated code in helper function update_current_exec_runtime for
update the exec time of the current.

Signed-off-by: default avatarShang XiaoJing <shangxiaojing@huawei.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220824082856.15674-1-shangxiaojing@huawei.com
parent e4fe074d
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