오후 1:29 2008-04-01
조경민 bro@shinbiro.com
rtos overhead measuring
===================================
     
Measure your RTOS's real-time performance
----------------------------------------------------------
threadx에서 제공하는 apple to apple방식의 RTOS overhead측정소스 제공
context switch time, ISR with/without preemption, semaphore overhead측정
http://www.dspdesignline.com/showArticle.jhtml?articleID=199701756


Back to the basics: How to measure real-time performance
----------------------------------------------------------
ThreadX에서는 각 kernel function 별로 즉시리턴, 호출한 스레드가 suspend일때, supend였던 스레드가 요청을 처리하기 까지 시간, context switch가 일어나서 요청받은 스레드가 깨어나는데 드는 시간등의 추가적인 시간까지 재는 것을 보여줌
http://www.embedded.com/columns/technicalinsights/174401541?_requestid=832210


Tutorial: Techniques for measuring execution time and real time performance - Part 2
----------------------------------------------------------
Task Utilization = Worstcase execution time/period frequency
os overhead measuring은 logic analyzer를 연결해서 low priority task가 output channel1을 toggle시키고 higher task가 channel2를 toggle시키게 한다.
그렇게해서 os context switch time을 연산할 수 있다.
irq시간은 irq 라인을 따로 logic analyzer channel에 연결한다.
http://www.embedded.com/columns/technicalinsights/194300225?_requestid=625944

'KB > RTOS' 카테고리의 다른 글

POSIX 지원  (0) 2008.04.01
rtos schedulability analysis  (0) 2008.04.01
stack overflow detection  (0) 2008.04.01
OS-Awareness  (0) 2008.03.31
RTOS contraint in application  (0) 2008.03.31

+ Recent posts