IAR Embedded Workbench displays ThreadX captured profiling information
1 min read
RTOS specialist, Express Logic has announced the availability of Performance Execution Profiling information with IAR Embedded Workbench.
Express Logic's ThreadX rtos optionally collects and processes a variety of run time statistics, including the following:
• CPU execution percentage of each application thread
• CPU execution percentage of total interrupt processing
• CPU idle time percentage
• Total number of thread preemptions, suspensions, and priority inversions
• Total number of mutex, semaphore, and event flag puts, gets, and sets
• Total number of messages sent/received
• Total number of memory allocations, deallocations, fragments, merges, etc.
• Total timer activations and expirations
Mats Ullström, product director, IAR Systems, said: "The integration of ThreadX Execution Profiling in IAR Embedded Workbench opens new opportunities to develop performance optimised embedded applications in shorter time and with greater ease."
The collection of information is now presented in a clear, tabular form within IAR Embedded Workbench. IAR Embedded Workbench presents full 'kernel awareness' information for ThreadX, including the current status of all application threads and rtos objects, such as semaphores, mutexes, timers, and message queues. Now, with the addition of Execution Profiling information, IAR Embedded Workbench provides extensive information on rtos based application performance. It would be virtually impossible for the developer to instrument the application and derive this information. Moreover, the new ability of the tools from IAR Systems to display it makes this information instantly available and more useful to the application.
With this new feature, developers are able to more fully analyse their application to determine how much processing is still available, as well as where most of the processing is taking place. From this information, a developer can determine if there is enough available processor cycles to handle maximum system loading requirements (safety margin) or to add additional application functionality. Alternatively, if there is an excessive amount of available cycles, the developer may choose to lower the frequency of the processor to reduce power consumption. Finally, the information provides an excellent roadmap for optimisation because it shows exactly where the processing is taking place.
"The ThreadX Execution Profiling information now presented by IAR Embedded Workbench gives developers a quick, informative view of what their application is doing up to that point," commented William Lamie, president of Express Logic. "This information greatly helps developers understand their system, especially where optimizations are most beneficial. No other IDE offers this valuable information, making the ThreadX-IAR Embedded Workbench combination indeed a best-of-class solution for commercial product development."
ThreadX is available in full source code form and royalty free.