Measuring Real-Time Performance Of An RTOS - Express Logic
Measuring Real-Time Performance Of An RTOS - Express Logic Measuring Real-Time Performance Of An RTOS - Express Logic
Semaphore Processing • A semaphore is a system resource used to guarantee a task exclusive access to a critical resource. Semaphores synchronize asynchronous activities • This test consists of a thread getting a semaphore and then immediately releasing it. – After the get/release cycle completes, the thread increments its run counter Get Semaphore Release Semaphore Count++ Loop Semaphore 14
Memory Allocation • Applications commonly must allocate memory dynamically to avoid the need to plan for the maximum possible memory needs of all tasks at the same time • This test consists of a thread allocating a 128-byte block of memory and releasing the same block. • After the block is released, the thread increments its run counter Allocate Memory Release Memory Count++ Loop Memory Block 15
- Page 1 and 2: Express Logic, Inc. © 2006, Expres
- Page 3 and 4: Most Important RTOS Capabilities
- Page 5 and 6: Thread-Metric: An Open RTOS Benchma
- Page 7 and 8: How Are Services Measured? • Lots
- Page 9 and 10: Cooperative Context Switching • T
- Page 11 and 12: Interrupt Handling • Must conside
- Page 13: Message Processing • A Thread sen
- Page 17 and 18: Test Environment • ARM Versatile
- Page 19 and 20: How To Get The Code • Download fr
Semaphore Processing<br />
• A semaphore is a system resource used to guarantee a task<br />
exclusive access to a critical resource. Semaphores<br />
synchronize asynchronous activities<br />
• This test consists of a thread getting a semaphore and then<br />
immediately releasing it.<br />
– After the get/release cycle completes, the thread increments its<br />
run counter<br />
Get<br />
Semaphore<br />
Release<br />
Semaphore<br />
Count++<br />
Loop<br />
Semaphore<br />
14