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