Quantcast
Channel: C#
Viewing all articles
Browse latest Browse all 1853

Pausing Data Collection

$
0
0

You can configure the analysis run to launch the application but start collecting data after some delay or pause the data collection in the middle of the application execution. This is useful if you do not want to include all the warm-up activities in the analysis results or you want the data collection to start when a specific event occurs (for example, message box or mouse click). The Intel® VTune™ Amplifier provides several options to pause and resume your analysis:

Option 1. Start running an application with the data collection paused, and then manually resume the data collection when required.

To manually start and resume the analysis, do the following:

  1. Click the (standalone GUI)/ (Visual Studio IDE) New Analysis button on the toolbar.

    The New Amplifier Result result tab opens.

  2. Select the required analysis type in the Analysis Type window.

  3. Click the Project Properties button to choose and configure your target, if required.

  4. Click the Start Paused button on the command bar:

    VTune Amplifier runs the application. The Start Paused button is replaced with the Resume button.

  5. Click the Resume button on the right command bar to start data collection.

Option 2. Use the Pause/Resume button to pause the data collection at any time of application execution.

  1. Click the Start button on the command bar to run the selected analysis.

    When analysis starts running, the command bar is updated with a set of analysis management buttons.

  2. When you need to pause the collection, click the button on the command bar.

    VTune Amplifier collects no data but your application keeps running. The Start button on the command bar is replaced with the Resume button.

  3. When you need to resume the data collection, click the Resume button on the command bar.

    VTune Amplifier continues collecting data.

Option 3. Use the Pause/Resume API to insert calls into your code to start and stop the analysis.

To get details on using the Pause/Resume API, see the Collection Control API topic.

Inglese

Viewing all articles
Browse latest Browse all 1853

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>