コマンドラインからパフォーマンス解析を実行するには、次のように amplxe-cl コマンドを使用します。
$ amplxe-cl -collect <analysis_type> [--] <target>
説明:
<analysis_type> は、使用する解析のタイプです。
<target> は、解析するアプリケーションのパスと名前です。
結果: インテル(R) VTune (TM) Amplifier XE は、指定されたタイプのデータを収集します。
次のステップ: ターゲットのパフォーマンス結果を収集した後、amplxe-cl コマンドを実行してパフォーマンス・レポートを表示します。
例:
$ amplxe-cl -collect hotspots home/test/sample
この例は、sample アプリケーションの hotspot 解析を実行します。
$ amplxe-cl -collect concurrency home/test/sample
この例は、sample アプリケーションのコンカレンシー解析を実行します。
$ amplxe-cl -collect locksandwaits home/test/sample
この例は、sample アプリケーションのロックと待機の解析を実行します。
$ amplxe-cl -collect lightweight-hotspots home/test/sample
この例は、sample アプリケーションのライト hotspot 解析を実行します。
© 2010 Intel Corporation. 無断での引用、転載を禁じます。