Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sched: cpuload: add pm callbacks for cpuidle and time compensate for idle task #6135

Merged
merged 7 commits into from
May 10, 2022

Conversation

zhuyanlinzyl
Copy link
Contributor

Summary

This patchs add pm callbacks for cpuload oneshot/period, such timer will stop when enter wfi/sleep.

And add time compensate for the time elapsed

Impact

No

Testing

Test on armv8m board

@zhuyanlinzyl
Copy link
Contributor Author

hi @gustavonihei : I have update with FAR prefix, please review again

zhuyanlinzyl and others added 7 commits May 9, 2022 17:35
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
…ed.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
just like how the same thing done in nxsched_process_timer

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit b907a1f into apache:master May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants