Specify the size of a raw stack (in bytes) to process.

GUI Equivalent

Custom Analysis

Syntax

-stack-size=<value in bytes>

Arguments

Possible <value>: numbers between 0 and 2147483647

Default

0

The stack size is unlimited.

Note

For Driverless Event-Based Sampling Collection, the default value is 1024 bytes.

Actions Modified

collect-with

Description

When you configure a customHardware Event-based Sampling Collection, you may reduce the collection overhead and limit the stack size (in bytes) processed by the VTune Amplifier by using the -stack-size option.

Example

This example configures and runs a custom event-based sampling data collection with the stack size limited to 8192 bytes:

$ amplxe-cl -collect-with runsa -knob enable-stack-collection=true -knob stack-size=8192 -knob enable-call-counts=true -knob event-config=CPU_CLK_UNHALTED.REF_TSC:sa=1800000,CPU_CLK_UNHALTED.THREAD:sa=1800000,INST_RETIRED.ANY:sa=1800000 -app-working-dir 
/home/samples/nqueens_fortran 
-- /home/samples/nqueens_fortran/nqueens_parallel
Для получения подробной информации о возможностях оптимизации компилятора обратитесь к нашему Уведомлению об оптимизации.
Выберите цвет&nbsp;фиксируемой кнопки: 
Orange (only for download buttons)