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

strategy

$
0
0

Specify which processes to analyze.

Syntax

-strategy<process_name1>:<profiling_mode>,<process_name2>:<profiling_mode>,...

Arguments

Argument

Description

<process_name>

The name of the process to which the strategy configuration applies. If <process_name> is empty, the strategy configuration applies by default to all processes for which a profiling strategy is not specified.

<profiling_mode>

The strategy for profiling the specified process. Possible values are:

Value

Description

trace:trace

Collect data on the process, and its child processes.

notrace:trace

Do not analyze the process, but collect data on its child processes.

notrace:notrace

Ignore the process, and its child processes, while collecting data.

trace:notrace

Analyze the process, but do not collect data on its child processes.

Default

:trace:trace

Analyze both parent and child processes.

Actions Modified

collect,collect-with

Description

Use the strategy action-option to specify which processes to analyze, and which to ignore.

This option is not applicable to hardware event-based analysis types.

Example

This example performs a Hotspots analysis where the strategy configuration limits data collection to the example process, and ignores its child processes.

$ amplxe-cl -collect hotspots -strategy :notrace:trace,example:trace:notrace C:\run_example.bat
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>