I have two thread, which both CPU-intensive. I wonder which way is more proformence:
One is by Cooperative Round Robin, another is by chThdSleepMicroseconds(1) each loop;
Mutithread proformence
Moderators: tfAteba, barthess, RoccoMarco, lbednarz, utzig
-
- Posts: 24
- Joined: Sun Jan 12, 2020 2:11 pm
- Has thanked: 4 times
- Giovanni
- Site Admin
- Posts: 14627
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1132 times
- Been thanked: 944 times
-
- Posts: 24
- Joined: Sun Jan 12, 2020 2:11 pm
- Has thanked: 4 times
Who is online
Users browsing this forum: No registered users and 76 guests