Yes, VTune™ Amplifier XE 2011 supports the Intel® Atom™ processor as long as the platform is running a supported operating system.
Since Intel Atom processors are based on the IA-32 architecture and support Intel® Streaming SIMD Extensions-3 (Intel® SSE3), VTune™ Amplifier XE can be used to analyze software running on the machine. This should work for any of the supported platforms and operating systems listed in the Release Notes.
VTune™ Amplifier XE supports the Atom processor both for general operations such as data collection and data analysis, as well as Atom-specific event-based sampling analysis (EBS).
When using VTune™ Amplifier XE on an Atom based device two different approaches are commonly used. The first approach is to run the complete VTune™ Amplifier XE on the Atom target. This implies installation of the full product and requires significant hardware resources to be installed on the machine. In this case all types of analysis can be made from within VTune™ Amplifier XE GUI.
A second approach is to use a remote collector on the target Atom machine, the results being then analyzed on a PC that has the full VTune™ Amplifier XE product installed (the host machine). In this mode, VTune Amplifier XE just requires that the remote data collector and command line tools are installed on target machine - see Figure 1. Refer to the product Release Notes for installation guidelines.
Once the data collectors are installed on the target, use the command line tools to collect raw data.
With remote data collection, those data need to find their way back to the host machine for analysis, viewing and reporting, but this can be done by a variety of means, from network copies to remotely mapped file systems.
Figure 1 - Remote data collection using VTune™ Amplifier XE
>amplxe-cl -collect concurrency -result-dir r001cc my_app
This command runs Concurrency analysis for the my_app application and stores the results in directory ‘r001cc.’
When the collection is finished, the ‘r001cc’ directory will contain everything needed on the host machine to complete the analysis.
Configuring the Hardware Event-based Sampling Analysis
- When full product is installed on the target system
There are no predefined collection types for the Intel® Atom™ processor, but users can create custom profiles based on available Performance Monitoring Unit (PMU) events.
To create a new analysis type, press the ‘New’ button and select ‘New Hardware Event-based Sampling Analysis.’
Then press the ‘Add Event’ button and select the desired events from the list of available events provided for the current microarchitecture.
Note: You can copy the generated command line and configuration file and use them for data collection without the GUI. To do that press the ‘Get Command Line’ button and read instructions.
- When only data collectors and command line tools are installed on the target system
Running EBS data collection remotely requires both a configuration file (.cfg) and a command line that will be fed to the collection tool running on the target.
If the full product is not available on the target machine, you might be able to configure something on the host machine that can be used on the target:
- Start a new project and configure Hardware Event-based Sampling Analysis
- Edit the generated .cfg file: event names in the "pmuEventConfig" knob must be changed according to the target machine PMU
- Copy the .cfg file to the target machine and use a path to the file in the command line.
To check which PMU events are available in the CPU installed on the system run the command:
There is a simple way to remotely collect the most commonly used EBS data without creating a .cfg file:
- Use lightweight-hotspots collection type. It will create a collection of basic events which is sufficient in many cases:
>amplxe-cl -collect lightweight-hotspots my_app
- In order to enable more options use run-tools to control the analysis configuration and then import raw data into the VTune™ Amplifier XE project. For example:
>amplxe-runsa -d 10 --event-config "CPU_CLK_UNHALTED.CORE":sa=2000000, "SIMD_INST_RETIRED.ANY" --result-dir r001lh –- my_app
>amplxe-cl -finalize r001lh
In these commands the run-tool runs EBS collection with the selected events for the my_app application during 10 seconds, and then stores the raw results in directory ‘r001lh.’ For resolving symbols the finalization command of data collector is used.