SMP Tools Overview

Describes the tools that are available for debugging on an SMP platform.

Open System Trace (OST)

This tool is used to monitor the path of thread execution. It does this by logging of messages and variable values to a log file for later analysis.

For more information, see Trace and Carbide Tools > Trace in Carbide Help.

Performance Investigator

This tool is used to monitor the performance. It is very useful for detecting performance bottlenecks. It comes in the form of a Carbide plugin.

For more information, seeHow to use PI Profiler with PlatSim, the PI wiki and Performance Investigator User Guide in Carbide Help.

MemSpy

This tool is used to monitor memory usage. It is especially useful for detecting memory leaks.

However, the output from the present version of the Memory Analysis tool does not hold information about which CPU is accessing the memory.

For more information, seeMemSpy, the MemSpy wiki, and Carbide Tools > MemSpy in Carbide Help.

Standard Test Framework (STIF)

This is the standard test framework for executing large number of repetitive tests. The framework comes in the form of test scripts. This tool is used extensively for regression testing.

For more information, see the STIF wiki and Carbide Tools > STIF in Carbide Help.

Note:

This tool is for internal use only.

Crazy Scheduler

This tool is used to test if code will work in an environment where there is no thread priority. It can also be used to test the effect of a delay when a thread moves from one state to another.

For more information, see SMP Crazy Scheduler.

Note:

When executing in crazy delay mode, this tool can slow the system down.

Load Generator

This tool is used to simulate the effect of heavy processing on the platform.

For more information, see Load Generator and the Load Generator wiki.

Note:

This tool is for internal use only.

External tools

In addition to the above tools, both Lauterbach and ARM produce hardware debugging tools that can be used on an SMP platform.