VTune Basic Notes 1

來源:互聯網
上載者:User

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命令列介面在遠程機器上採集資料,在本地機器上查看資料。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.