Page 1 of 1

How to find which core a task is running on

Posted: Mon Jul 08, 2024 6:18 pm
by srjasz
I have been using vTaskList() and vTaskGetRunTimeStats() which are very helpful. Unfortunately they don't tell which core the task is running on. Is there a way to find out which core a task is running on?
Thanks

Re: How to find which core a task is running on

Posted: Sat Jul 27, 2024 9:02 am
by eriksl
I haven't found it too. Apparently it's either pinned to one cpu, or it's running on whatever CPU that's idle at that moment.