You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/02/21 19:57:38 UTC

[GitHub] [mynewt-nimble] andrzej-kaczmarek opened a new pull request #1185: babblesim/edtt: Refactor queue handling

andrzej-kaczmarek opened a new pull request #1185:
URL: https://github.com/apache/mynewt-nimble/pull/1185


   This reworks events handling in EDTT.
   
   The "service_events" routine is now handled in separate task which
   blocks until new event is put in queue. This is possible since we use
   os_eventq to pass events and this means any get from queue will put
   task to sleep properly and trigger context switch if necessary.
   
   The blocking edtt_read() will now sleep if not data is available instead
   of advancing time machine forward so it does not interfere with timing.
   OS_TICKS_PER_SEC was increased to 1024 to have better granularity and
   allow ~5ms sleep time for edtt poller task as required.
   
   Also some non-LL code is simplified to use simple calloc/free as it does
   not really seem to be cessary to use mempools there, i.e. we just need
   some memory block to pass data and it does not really matter how it's
   allocated. Also using calloc/free means we will never run out of memory
   so no need to check for that.


-- 
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@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] andrzej-kaczmarek edited a comment on pull request #1185: babblesim/edtt: Refactor queue handling

Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek edited a comment on pull request #1185:
URL: https://github.com/apache/mynewt-nimble/pull/1185#issuecomment-1047266728


   ```
   edtt: @00:33:17.250000  Status   Count
   edtt: @00:33:17.250000  ==============
   edtt: @00:33:17.250000  PASS        95
   edtt: @00:33:17.250000  FAIL        25
   edtt: @00:33:17.250000  ==============
   edtt: @00:33:17.250000  Total      120
   ```


-- 
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@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] andrzej-kaczmarek commented on pull request #1185: babblesim/edtt: Refactor queue handling

Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek commented on pull request #1185:
URL: https://github.com/apache/mynewt-nimble/pull/1185#issuecomment-1047266728


   ```
   edtt: @00:39:44.260000  Summary:
   edtt: @00:39:44.260000  
   edtt: @00:39:44.260000  Status   Count
   edtt: @00:39:44.260000  ==============
   edtt: @00:39:44.260000  PASS        86
   edtt: @00:39:44.260000  FAIL        34
   edtt: @00:39:44.260000  ==============
   edtt: @00:39:44.260000  Total      120
   ```


-- 
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@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] andrzej-kaczmarek merged pull request #1185: babblesim/edtt: Refactor queue handling

Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek merged pull request #1185:
URL: https://github.com/apache/mynewt-nimble/pull/1185


   


-- 
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@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [mynewt-nimble] andrzej-kaczmarek edited a comment on pull request #1185: babblesim/edtt: Refactor queue handling

Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek edited a comment on pull request #1185:
URL: https://github.com/apache/mynewt-nimble/pull/1185#issuecomment-1047266728


   ```
   edtt: @00:33:13.720000  Status   Count
   edtt: @00:33:13.720000  ==============
   edtt: @00:33:13.720000  PASS        93
   edtt: @00:33:13.720000  FAIL        27
   edtt: @00:33:13.720000  ==============
   edtt: @00:33:13.720000  Total      120
   ```


-- 
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@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org