harishn6 opened a new issue, #17171: URL: https://github.com/apache/nuttx/issues/17171
### Description Hi, I am working on an application where I need to accurately measure the CPU load of individual threads/tasks, as well as the overall system CPU load in NuttX. I have attempted to use the **clock_cpuload()** function to retrieve this information. However, I'm encountering an issue where **clock_cpuload()** consistently returns the same value for all tasks, regardless of their actual CPU usage. Could someone please advise on the correct approach to obtain per-thread/task CPU load and the overall system CPU load in NuttX? Are there alternative methods or considerations I should be aware of when using **clock_cpuload()**? Specifically, am I missing any necessary setup or usage details? Any insights or examples would be greatly appreciated. Thanks & Regards, Harish Nayineni ### Verification - [x] I have verified before submitting the report. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
