JanStaschulat edited a comment on issue #2935:
URL: 
https://github.com/apache/incubator-nuttx/issues/2935#issuecomment-802701223


   @patacongo thanks for including it in the os-tests. 
   
   However, I feel just checking for >= is not sufficient. In the test setup 
there should be lower prio FIFO task (with higher priority then all "prio low" 
of all sporadic tasks) to "eat" up all the remaining cycles. 
   
   ```
   user_main: Dual sporadic thread test
   Sporadic 1: prio high 180, low 20, repl 100000000 ns
   Sporadic 2: prio high 180, low 20, repl 100000000 ns
   FIFO      : prio 30,  (busy loop, which does computation all the time)
   ```
   
   Then, a test case with a buget of e.g. 30 % shall also result in about 30% 
processing time, and not any value more or equal to 30%. 


-- 
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.

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


Reply via email to