Intel® VTune™ Amplifier

Editing Source

When tuning your target, you may need to modify the source code. Intel® VTune™ Amplifier enables you to open the source files for editing directly from the Source/Assembly window.

To launch the source editor:

  1. In the Source pane, select the line you want to edit.
  2. Right-click the line and select Edit Source from the context menu, or click the Open Source File EditorOpen editor button on the Source/Assembly toolbar.

    Your source code opens in the code editor defined in the EDITOR environment variable (for example, vi) or VISUAL environment variables (for example, gedit, emacs). Depending on the editor application, the code may open exactly on the selected line.

After editing your code, rebuild your target and re-run the VTune Amplifier analysis on the modified version to compare the performance results before and after optimization.

See Also