mrte-mode

Specify the Microsoft runtime environment mode for this collection. This option applies to Windows OS only.

GUI Equivalent

Tab Project Properties - Analysis Target

Project Properties: Analysis Target tab > Managed code profiling mode

Syntax

-mrte-mode <string>

Arguments

<string> Type of analysis to use.

auto

Automatically detects the type of target executable as Native or Managed, and switches to that mode.

native

Collects data for native code and does not attribute data to managed code.

mixed

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

managed

Collects data for both native and managed code, resolves samples attributed to native code, attributes data to managed source only. The call stack in the analysis result displays data for managed code only.

Default

auto

Uses the auto mode.

Description

Use the mrte-mode option to specify the Microsoft runtime environment mode. This option applies to Windows OS only.

Example

In this example, the runtime environment mode is specified as native.

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