ANDROID: scheduler: export task_sched_runtime
For power and performance monitoring, need to known tasks' runtime for loading estimation. But now, other modules can't get task_scehd_runtime. Export task_sched_runtime to let other modules get task_scehd_runtime. Bug: 195914330 Signed-off-by: Poting Chen <poting.chen@mediatek.com> Signed-off-by: Cheng Jui Wang <cheng-jui.wang@mediatek.com> Change-Id: Ida5caf8ed0a32954fc0b0ed950f163c7ca493fef
This commit is contained in:
parent
3425d6179e
commit
fdc8f778e2
@ -4217,6 +4217,7 @@ unsigned long long task_sched_runtime(struct task_struct *p)
|
||||
|
||||
return ns;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(task_sched_runtime);
|
||||
|
||||
/*
|
||||
* This function gets called by the timer code, with HZ frequency.
|
||||
|
Loading…
Reference in New Issue
Block a user