jlaitine opened a new pull request, #16485:
URL: https://github.com/apache/nuttx/pull/16485

   
   ## Summary
   
   Add up_perf_ functions for MPFS, which don't rely on alarm/oneshot interface.
   
   Also add optimized up_udelay and up_ndelay functions, which use the MTIMER 
directly to measure time; making them accurate and more multithreading friendly.
   
   ## Impact
   
   Only for MPFS platform;
   - makes up_perf_gettime faster, when the call doesn't go through the alarm 
framework. which in turns helps profiling
   - uses the 1MHz MTIME counter on MPFS to directly measure up_udelay, 
preventing unnecessary delays when call is pre-empted by another task or 
interrupt.
   
   ## Testing
   
   Tested on a custom MPFS250T based board & segger system view tool to compare 
the overhead  with and without this patch.
   


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

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

Reply via email to