You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Gary-Hobson (via GitHub)" <gi...@apache.org> on 2023/08/03 14:35:51 UTC
[GitHub] [nuttx] Gary-Hobson opened a new pull request, #10063: Cpuloading
Gary-Hobson opened a new pull request, #10063:
URL: https://github.com/apache/nuttx/pull/10063
## Summary
use perf to implement cpuload without relying on external timers
## Impact
Need to enable CONFIG_SCHED_CRITMONITOR
## Testing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] PetteriAimonen commented on pull request #10063: use perf to implement cpuload
Posted by "PetteriAimonen (via GitHub)" <gi...@apache.org>.
PetteriAimonen commented on PR #10063:
URL: https://github.com/apache/nuttx/pull/10063#issuecomment-1735326296
@xiaoxiang781216 Thanks for confirming, added pull request #10816.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 commented on pull request #10063: use perf to implement cpuload
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #10063:
URL: https://github.com/apache/nuttx/pull/10063#issuecomment-1735302315
You are right SCHED_CPULOAD_EXTCLK should work in tick mode. Could you provide a patch remove the dependence? Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] PetteriAimonen commented on pull request #10063: use perf to implement cpuload
Posted by "PetteriAimonen (via GitHub)" <gi...@apache.org>.
PetteriAimonen commented on PR #10063:
URL: https://github.com/apache/nuttx/pull/10063#issuecomment-1735231180
I wonder if it was intentional to make `SCHED_CPULOAD_EXTCLK` depend on `SCHED_TICKLESS` [here](https://github.com/apache/nuttx/commit/08c4ac133bfe424ee1576b609310a80647f32bdc#diff-285d196ad580d55fdaef3fbe54702ee3ddeed0d93cba52a5441d1866e0031726R922-R925)?
We have been using `SCHED_CPULOAD_EXTCLK` for years with a ticking kernel and it works fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 merged pull request #10063: use perf to implement cpuload
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #10063:
URL: https://github.com/apache/nuttx/pull/10063
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org