acassis opened a new pull request, #3252: URL: https://github.com/apache/nuttx-apps/pull/3252
## Summary During the discussion about the impact of adding counter to TCB Mr anchao created a pthread mutex performance example: https://github.com/apache/nuttx/pull/17468#issuecomment-3660925314 Because this example can exercise (not ideally) the pthread mutex I decided to add it to apps/testing/sched, the program name will be called "pmutexp" (because "pmp" is not a good name). ## Impact Another testing tool for NuttX ## Testing nsh> pmutexp 1: diff = 0.278248977 s | avg = 0.278248977 s 2: diff = 0.277865395 s | avg = 0.278057186 s 3: diff = 0.276913045 s | avg = 0.277675805 s 4: diff = 0.277897198 s | avg = 0.277731153 s 5: diff = 0.278829989 s | avg = 0.277950920 s 6: diff = 0.276655238 s | avg = 0.277734973 s 7: diff = 0.278417236 s | avg = 0.277832439 s 8: diff = 0.276738257 s | avg = 0.277695666 s 9: diff = 0.278345268 s | avg = 0.277767844 s 10: diff = 0.279812201 s | avg = 0.277972280 s ===== result ===== count: 10 total: 2.779722804 s avg: 0.277972280 s nsh> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
