Search found 5 matches

by mharizanov
Wed Dec 04, 2019 1:02 pm
Forum: General Discussion
Topic: Run linux on the ESP32?
Replies: 20
Views: 73099

Re: Run linux on the ESP32?

Actually there is already an ESP32 linux port, it was announced here: https://www.reddit.com/r/esp32/comments ... ime_video/
It is far from practical, but cool factor is A+
by mharizanov
Fri Nov 22, 2019 12:13 pm
Forum: General Discussion
Topic: Approximate reasonably CPU load per core?
Replies: 6
Views: 7670

Re: Approximate reasonably CPU load per core?

Note: The above link gives you a total count. You may also wish to see load over 0.25 seconds. You would have to write that code yourself but its fairly easy to populate an array with task name and last run count from which to perform the delta. I found that the returned task list would change the ...
by mharizanov
Thu Nov 21, 2019 6:02 pm
Forum: General Discussion
Topic: Approximate reasonably CPU load per core?
Replies: 6
Views: 7670

Re: Approximate reasonably CPU load per core?

Got it working. Had to enable "Component config > FreeRTOS > Enable FreeRTOS to collect run time stats " in menuconfig (IDF 3.3) Gives me output like this: main 886790 <1% IDLE1 146272698 90% IDLE0 151160911 93% buzzer_task 153997 <1% tiT 439292 <1% mqtt_task 2849535 1% lvgl_task 14420182 8% Tmr Svc...
by mharizanov
Thu Nov 21, 2019 2:22 pm
Forum: General Discussion
Topic: Approximate reasonably CPU load per core?
Replies: 6
Views: 7670

Re: Approximate reasonably CPU load per core?

Thanks for the pointers. Looks like with some fiddling, it will work. I'll update the thread.
by mharizanov
Thu Nov 21, 2019 11:08 am
Forum: General Discussion
Topic: Approximate reasonably CPU load per core?
Replies: 6
Views: 7670

Approximate reasonably CPU load per core?

Folks,
Is there an "official" way to read the approximate CPU load e.g. how much time is spent in IDLE vs other tasks? I'd ideally need this per core, tips on how to achieve that would be appreciated.
Thanks