Test & Measurement


Event analysis tool for multicore development

9 June 2010 Test & Measurement

Express Logic has 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 visualise and better understand the behaviour of their real-time systems by showing thread and core activity graphically across a common timescale. System events like interrupts and context switches that occur out of view of standard debugging tools, can be seen clearly on each core. The tool introduces the ability to identify and study these events, and to pinpoint the timing and core on which they occurred.

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 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 virtual software logic analyser on the host, TraceX/MC makes system events plainly visible, clearly depicting what is going on in each core. Events are represented by colour-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.

With this tool, complex real-time interactions and race conditions can be examined more easily 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.

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: details the amount of stack memory used by each thread in the system, enabling better optimisation 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.

For more information visit www.rtos.com





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

B&K Precision’s Series 1820B frequency counter
Comtest Test & Measurement
These compact and versatile instruments are designed for a wide range of frequency measurement applications, from telecommunications to verification and validation of oscillators.

Read more...
How transition-edge sensors detect microwave radiation
Test & Measurement
The elegant interplay of superconductivity, thermal physics, and precision electronics makes TES technology a cornerstone of modern low-energy photon detection.

Read more...
Compact high precision magnetometer
Future Electronics Test & Measurement
Bosch Sensortec has introduced the BMM350, a compact 16-bit, 3-axis magnetometer engineered to deliver high accuracy, low noise, and exceptional energy efficiency in space constrained designs.

Read more...
Ultra compact NTC thermistors
RS South Africa Test & Measurement
Murata Manufacturing Co. has expanded its compact NCU03 series of NTC thermistors with two ultra-small 0603M devices tailored for consumer and automotive designs.

Read more...
Omniflex uses LoRaWAN to track water usage
Omniflex Remote Monitoring Specialists Test & Measurement
Omniflex has helped New South Wales Ports improve its ability to track water usage by installing remote monitoring to 38 water meters at its Port Kembla site, sending the data to the NSWPorts web portal.

Read more...
Surviving the extremes: Understanding shock and vibration in MEMS sensors
Altron Arrow Editor's Choice Test & Measurement
By considering factors such as mechanical headroom, damping, and system-level robustness, designers can ensure that the chosen sensor not only survives, but performs reliably over time.

Read more...
Advanced pressure monitoring sensor
EBV Electrolink Test & Measurement
The Infineon KP497 is an advanced, highly integrated digital pressure sensor designed for demanding automotive and industrial applications, with a particular focus on battery management systems.

Read more...
Slimline 150 W bench PSU
Vepac Electronics Test & Measurement
The PeakTech P 6222 is the company’s new, slim laboratory power supply that offers precisely adjustable output values of 30 V and 5 A with a continuous power output of 150W.

Read more...
Redefining edge intelligence in RF analysis
Vepac Electronics Test & Measurement
The HAROGIC PXR Series bridges the gap between benchtop-grade RF performance and high-performance edge computing.

Read more...
Otto Wireless appointed as sole agent for Dragino Technology
Otto Wireless Solutions Test & Measurement
Dragino is a globally recognised leader in LoRaWAN and Internet of Things products and solutions, and is known for delivering reliable, cost-effective hardware.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved