User Guide

Contents

stack-size

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

Syntax

-stack-size=
<value in bytes>
Arguments
Possible
<
value
>
: numbers between 0 and 2147483647
Default
0
The stack size is unlimited.
For driverless sampling collection, the default value is 1024 bytes.
Actions Modified
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
Profiler
by using the
-stack-size
option.
This example configures and runs a custom event-based sampling data collection with the stack size limited to 8192 bytes:
vtune -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

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.