1. VTune文檔:
Getting Started Tutorial:http://software.intel.com/sites/products/documentation/hpc/amplifierxe/en-us/2011Update/lin/start/index.htm
VTune Help Document:http://software.intel.com/sites/products/documentation/hpc/amplifierxe/en-us/2011Update/lin/ug_docs/index.htm
2. Installation Information:
--------------------------------------------------------------------------------
Installing Amplifier XE Command line interface component... done
--------------------------------------------------------------------------------
Installing Amplifier XE Sampling driver kit component... done
--------------------------------------------------------------------------------
Installing Amplifier XE Graphical user interface component... done
--------------------------------------------------------------------------------
To get started using Intel(R) VTune(TM) Amplifier XE 2011 Update 7:
- To set your environment variables: source /opt/intel/vtune_amplifier_xe_2011/amplxe-vars.sh
- To start the graphical user interface: amplxe-gui
- To use the command-line interface: amplxe-cl
- To view a table of getting started documents: /opt/intel/vtune_amplifier_xe_2011/documentation/en/documentation_amplifier.htm
可見,其主要包括三個組件。
3. 命令列運行amplxe-gui
You may run the VTune Amplifier XE (amplxe-gui) from the command line as follows:
> amplxe-gui PATH
where PATH is one of the following:
Full path to a result file (*.amplxe)
Full path to a project file (config.amplxeproj)
Full path to a project directory. If the project file does not exist in the directory, the New Project dialog box opens and prompts you to create a new project in the given directory).
4. 關於效能分析的編譯:
對程式進行效能分析,一般需要:
1. 為系統下載安裝系統庫(system libraries)的debug information。關於如何安裝debug資訊,參考:http://software.intel.com/sites/products/documentation/hpc/amplifierxe/en-us/2011Update/lin/ug_docs/index.htm#olh/common/configuring_symbol_server.html
2. 使用-g選項編譯代碼。
3. 以Release模式編譯目標。
4. 建立一個用於調優的一個基準,用於進行比較效能提升。(一般使用release模式作為基準就可以了)
5. VTune工作流程workflow
(1) Basic Analysis Workflow 調優和最佳化程式,提高效能。
(2) Remote Analysis Workflow 使用VTune命令列介面在遠程機器上採集資料,在本地機器上查看資料。