Express Logic, Inc. today announced the introduction of TraceX/MC™, a multicore-enabled and expanded version of its powerful TraceX graphical real-time event analysis tool.
Express Logic, Inc., the worldwide leader in royalty-free real-time operating systems (RTOS), today announced the introduction of TraceX/MC™, a multicore-enabled and expanded version of its powerful TraceX graphical real-time event analysis tool. TraceX/MC enables embedded developers to visualize and better understand the behavior of their real-time systems by showing thread and core activity graphically across a common timescale. With TraceX/MC, system events like interrupts and context switches that occur out of view of standard debugging tools, can be seen clearly on each core. TraceX/MC introduces the ability to identify and study these events, and to pinpoint the timing and core on which they occurred. By offering such visibility into the overall system operation, TraceX/MC enables developers to resolve programming problems more easily, reducing the inordinate time typically spent debugging a multicore application.
Designed to work with Express Logic's ThreadX® RTOS, TraceX/MC creates a database of system and application events on the target system during run-time. Events such as thread context switches, preemptions, suspensions, terminations, and system interrupts, typically escape detection in a standard debugging environments. Such events are logged in a target-resident circular buffer by ThreadX, with time-stamping and active core-thread identification so they can be displayed later in the proper time sequence for the appropriate core. Event logging may be stopped and restarted by the application program dynamically when, for example, an area of interest is encountered. This approach avoids cluttering the buffer and using up target memory when the system is performing correctly.
Trace information may be uploaded to the host for analysis at any time whether at post mortem or on encountering a breakpoint. A circular buffer enables the most recent “n” events to be stored at all times, and to be available for inspection upon the occurrence of a system malfunction, breakpoint, or any other time the system is halted. Once the event log has been uploaded from target memory to the host, TraceX/MC graphically displays the events on a time-based horizontal axis, with the various system cores and associated application threads and system routines represented on the vertical axis.
Acting as a “software logic analyzer” on the host, TraceX/MC makes system events plainly visible, clearly depicting what is going on in each core. Events are represented by color-coded icons, located at the point of occurrence along the horizontal timeline to the right of the relevant thread or system routine. When an event icon is selected, the corresponding information for that event is displayed. This provides quick, single-click access to the most immediate information about the event. The axes may be expanded to show more detail or collapsed to show more events. TraceX/MC provides an “overview mode” display that shows all system events on a single horizontal line to simplify analysis of systems with many threads.
Find Multicore Race Conditions More Easily
With TraceX/MC, complex real-time interactions and race conditions can be examined far easier than by using standard debugging techniques. Race conditions occur when system events are not deterministically sequenced, even though their order is critical to proper operation. Such application errors are difficult to identify, even on single-processor systems. On multicore systems, such conditions are significantly more challenging to detect, and can create confusing system performance requiring extensive time to examine and understand using conventional methods.
With TraceX/MC, such conditions become clearly visible, freeing the developer from wasting time figuring out which core is doing what at a certain point in time. By providing this visibility into race conditions, as well as interrupts, preemptions and other events across multiple cores, TraceX/MC speeds application development and further enables ThreadX to get products to market faster than the competition.
Application Performance Profile and Statistics
TraceX/MC also provides the statistics and performance profiles that portray how the system is performing and to assist in fine-tuning the load across multiple cores:
• Execution Profile—shows the percentage of execution time spent in each application thread, interrupt routine, and system idle time
• Popular Services—portrays which ThreadX services are most often used by the application
• Thread Stack Usage—detailsthe amount of stack memory used by each thread in the system, enabling better optimization of memory stack allocation and prevention stack overflow
• Performance Statistics—counts the number of context switches, interrupts, priority inversions, and other critical events that occur during system operation
“With our new TraceX/MC product, ThreadX developers gain increased visibility into their system during development, further speeding their time to market,” noted William E. Lamie, president of Express Logic. “TraceX/MC paints a graphical picture of a multicore system in a way that standard debuggers cannot, and this helps developers produce better products in less time than ever before.”
Shipping and Availability
TraceX/MC is available for use on Windows PCs, at a license price of $1,000 per developer seat, with no license keys required.
About Express Logic
Headquartered in San Diego, CA, Express Logic offers the most advanced run-time solutions for deeply embedded applications. Surrounding Express Logic’s popular ThreadX RTOS is a suite of middleware including the high-performance NetX™ TCP/IP stack, the FAT-compatible FileX™ file system, the easy-to-use PEGX™ graphics toolkit, and the comprehensive USBX™ Host/Device USB protocol stack. Express Logic also features innovative development tools including the Eclipse-based BenchX® IDE, the graphical TraceX® real-time event analyzer, and the new, unique StackX™ stack size analyzer. All run-time products from Express Logic include full source-code and have no royalties. For more information about Express Logic solutions, please visit www.rtos.com, call 1-888-THREADX, or email inquiries to email@example.com.
About Express Logic and ThreadX
Headquartered in San Diego, CA, Express Logic offers the most advanced run-time solution for deeply embedded applications, including the popular ThreadX® RTOS, the high-performance NetX™ TCP/IP stack, the FileX® embedded FAT compatible file system, the new GUIX™ GUI development toolkit, and the USBX™ Host/Device USB protocol stack. All products from Express Logic include full source-code and have no run-time royalties. For more information about Express Logic solutions, please visit our web site at http://www.rtos.com, call 1-888-THREADX, or email inquiries to firstname.lastname@example.org.