mrte-mode

Set the Microsoft* runtime environment mode for analysis.

GUI Equivalent

Project Properties > Analysis Target > [Analysis Types] > Managed code profiling mode

Syntax

--mrte-mode=<string>

Arguments

<string> is the mode type:

Argument

Description

auto

Automatically detect the type of target executable and switch to that mode.

native

Collect data for native code and do not attribute data to managed code.

mixed

Collect data for both native and managed code, and attribute data to managed code as appropriate. Consider using this option when analyzing a native executable that makes calls to the managed code.

managed

Collect data for both native and managed code, resolve samples attributed to native code, attribute data to managed source only. The call stack in the analysis result displays data for managed code only.

Default

auto

Actions Modified

collect

Usage

Applies to Windows* OS only.

Example

Run a Suitability analysis. Set a native runtime environment mode.

$ advixe-cl --collect=suitability --mrte-mode=native -- C:\test\sample.exe
For more complete information about compiler optimizations, see our Optimization Notice.