Timeline for Counting to 1000 In Both cores execution time problem in esp32?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 11, 2020 at 13:33 | comment | added | Avon97 | I don't understand how to get advantage of the dual cores it has? | |
Aug 11, 2020 at 12:45 | comment | added | theSealion |
Right now (without the delay) you couldn't speed up the execution time with a second task. Only one task is allowed to access i at a time and so the other task has to wait and could do nothing. If you gives the task something to do (the delay) you should se the difference.
|
|
Aug 11, 2020 at 11:59 | comment | added | Avon97 | But it did not speed up the execution time? Here is the updated code as you asked hastebin.com/ajileyiqud.cpp | |
Aug 11, 2020 at 7:16 | history | answered | theSealion | CC BY-SA 4.0 |