But assuming that the percent utilization is supposed to be based on the total of two cores, the values returned after running for a while don't add up. For example....
Code: Select all
------------- TASKS --------------
Uptime = 6019 sec / 6019742 msec
soundTask 2844795936 82
main 16049702 <1
IDLE 1387194975 40
IDLE 3136531981 90
pirTask 13701570 <1
mgrRuleTask 37943962 1
super 1253519 <1
sensor_task 6231089 <1
wd_app 15279 <1
wd_pro 16978 <1
pubnub_task 91240172 2
tiT 20367385 <1
Tmr Svc 36 <1
ipc0 887 <1
eventTask 804 <1
pthread 819 <1
ipc1 158207 <1
esp_timer 5313957 <1
wifi 163263046 4
mic_task 20398940 <1
led_task 8707 <1
nvs_task 6118 <1
Code: Select all
------------- TASKS --------------
Uptime = 6727 sec / 6727991 msec
main 17995053 <1
IDLE 3503867369 72
IDLE 2052790476 42
super 1410208 <1
tiT 23092209 <1
mgrRuleTask 43809452 <1
soundTask 3181231775 65
sensor_task 6986521 <1
wd_app 17316 <1
wd_pro 19081 <1
pubnub_task 101745144 2
pirTask 15318772 <1
Tmr Svc 36 <1
eventTask 804 <1
pthread 819 <1
led_task 8707 <1
ipc1 159545 <1
esp_timer 5950142 <1
wifi 183782656 3
mic_task 22800893 <1
nvs_task 6118 <1
ipc0 887 <1
The actual times don't even seem to add up to about the total up time for each core. The pirTask, micTask and soundTask are on the same core (APP_CORE) and make up the bulk of that core + the idle task = 5271 or 6727 sec in the 2nd dump. In the first they add up to 4266 out of 6019.
I pin most tasks to one core or the other. The wifi task is the only task with a lot of usage, but it's my understanding that it's on the PRO core. If it floats then that might explain some variation, but not enough to make the numbers add up.
Has anyone been able to get definitive and consistent info from this data?
John A