You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/31 09:13:34 UTC
[GitHub] [incubator-nuttx] zyfeier opened a new pull request, #6967: sched/semaphore: add sem_count temporary variable to improve performance
zyfeier opened a new pull request, #6967:
URL: https://github.com/apache/incubator-nuttx/pull/6967
## Summary
Add temporary variable sem_count to improve sem post performance
## Impact
Code Size:
before:
```
text data bss dec hex filename
109708 224 24940 134872 20ed8 nuttx
```
after:
```
text data bss dec hex filename
109708 224 24940 134872 20ed8 nuttx
```
Performance:
sem_post -> sem_wait (cycle count):
before:
`195`
after:
`192`
## Testing
sabre-6quad: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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #6967: sched/semaphore: add sem_count temporary variable to improve performance
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #6967:
URL: https://github.com/apache/incubator-nuttx/pull/6967
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org